Visio Şeklini Pdf'ye Dönüştür

** visio şeklini pdf’ye dönüştür**

Tarafından sunulan ToPdf yöntemiŞekil sınıf, pdf’ye dönüştürmek için kullanılabilir.

Aşağıdaki kod nasıl yapılacağını gösterir:

  1. Bir numune yükleyin diagram.
  2. belirli bir sayfa alın.
  3. Belirli bir şekil elde edin.
  4. şekli pdf’ye dönüştür.

Pdf’ye Şekil Ver

visio şeklini pdf’ye dönüştürmek için .net uygulamanızda aşağıdaki kodu kullanın.

// For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Shapes();
// Call a Diagram class constructor to load the VSDX diagram
Diagram diagram = new Diagram(dataDir + "ShapeToPdf.vsdx");
// Get a particular page
Page page = diagram.Pages[0];
// Get a particular shape
Shape shape = page.Shapes[0];
// Shape to Pdf
shape.ToPdf("out.pdf");