浏览我们的产品

Aspose.Diagram for .NET 17.12 发行说明

改进和变化

钥匙概括类别
DIAGRAMNET-50016添加对复制/克隆形状的支持强化
DIAGRAMNET-50677Provide the single API to convert a Visio shape to PDF强化
DIAGRAMNET-50678Provide the single API to convert a Visio shape to HTML强化
DIAGRAMNET-50762The parsing error of the long attributes value occurred while generate a VDX diagram漏洞
DIAGRAMNET-51401输出 VSDX - Shapes 中的控件不起作用漏洞
DIAGRAMNET-51402VSDX to image - 不保留 OLE 对象漏洞
DIAGRAMNET-51406VSD 到图像 - 出现其他字符漏洞
DIAGRAMNET-51410VSD to PDF - the page number remains 4 in all pages漏洞
DIAGRAMNET-51411VSD 到图像 - 页码在所有页面中保持为 4漏洞
DIAGRAMNET-51414VSDX to PDF - missing the content of shapes漏洞
DIAGRAMNET-51415VSDX to PDF - incorrect background color of the shapes漏洞
DIAGRAMNET-51416VSDX to HTML - incorrect background color of the shapes漏洞

公共 API 和向后不兼容的更改

以下是对公众 API 所做的任何更改的列表,例如添加、重命名、删除或弃用成员,以及对 Aspose.Diagram for .NET 所做的任何非向后兼容更改。如果您对列出的任何更改有疑虑,请在这Aspose.Diagram 支持论坛.

在 Shape 类中添加 Copy 成员

Copy 成员采用目标形状实例作为参数来克隆此形状。

 // import diagram

Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");

Shape newShape = new Shape();

// copy diagram

newShape.Copy(diagram.Pages[0].Shapes[0]);

newShape.ID = 3;

newShape.XForm.PinX.Value = 1;

newShape.XForm.PinY.Value = 1;

在 Shape 类中添加 ToPdf 成员

The ToPdf member converts a shape into the PDF format.

 // import diagram

Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");

// save a shape in the PDF format

diagram.Pages[0].Shapes.GetShape(59).ToPdf("e:\\out.pdf");

在 Shape 类中添加 ToHTML 成员

The ToHTML member converts a shape into the PDF format.

 // import diagram

Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");

Aspose.Diagram.Saving.HTMLSaveOptions hs = new Aspose.Diagram.Saving.HTMLSaveOptions();

// save a shape in the PDF format

diagram.Pages[0].Shapes.GetShape(59).ToHTML("e:\\out.pdf", hs);

使用示例

请查看 Aspose.Diagram Wiki 文档中添加的帮助主题列表:

  1. 将 Visio Shape 复制到另一个 Shape 实例
  2. Convert Visio Shape to PDF
  3. Convert Visio Shape to HTML


 
 简体中文