Ürünlerimize göz atın

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

.NET 22.6 için Aspose.Diagram

İndirmek  Destek Forumu 

Dosya Ayrıntıları

  • Downloads:
  • 1
  • File Size:
  • 12.89MB
  • Date Added:
  • 10/6/2022

Dosya Ayrıntıları

Eğri Şekiller ‘VSDX’ten ‘SVG’ye Dönüştürme

Microsoft Visio® ‘VSDX’ eğri diyagramlarını veya basit çizimleri ‘SVG’ (Ölçeklenebilir Vektör Grafiği) görüntü formatına dönüştürün. Aşağıdaki basit bir VSDX’ten SVG’ye dönüştürücü C# kod örneğidir:

// the path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadSaveConvert();

// call the diagram constructor to load diagram from a VSD file
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");

// create an instance SVG save options class
SVGSaveOptions options = new SVGSaveOptions();
ShapeCollection shapes = options.Shapes;

// get shapes by page index and shape ID, and then add in the shape collection object
shapes.Add(diagram.Pages[0].Shapes.GetShape(1));
shapes.Add(diagram.Pages[0].Shapes.GetShape(2));

// save Visio drawing
diagram.Save(dataDir + "SelectiveShapes_out.svg", options);

Visio®’dan Dönüştürüldüğünde iyileştirilmiş HTML kalitesi

Microsoft Visio® diyagramlarını ‘HTML’ biçimine dönüştürürken veya dışa aktarırken, elde edilen HTML’nin kalitesi önemli ölçüde iyileştirildi. Aşağıdaki basit bir VSD’den HTML’ye dönüştürücü C# kod örneğidir:

// 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_LoadSaveConvert();
// Load diagram
Diagram diagram = new Diagram(dataDir + "ExportToHTML.vsd");
// Save diagram
diagram.Save(dataDir + "outputVSDtoHTML.html", SaveFileFormat.HTML);

HTML DPI Çözünürlüğünü Alın veya Ayarlayın

Elde edilen HTML’nin çözünürlüğünü inç başına nokta (DPI) olarak alma veya ayarlama yeteneği. Aşağıda, HTML sayfa çözünürlüğünün .NET API aracılığıyla 96 DPI’ya nasıl ayarlanacağını gösteren basit bir C# kodu örneği verilmiştir:

HTMLSaveOptions option = new HTMLSaveOptions();
option.Resolution = 96;

Bu sürümde düzeltilen özelliklerin, geliştirmelerin ve hataların tam listesi için lütfen Aspose.Diagram for .NET 22.6 Release Notes adresini ziyaret edin.

 Türkçe