ارسم قطع ناقص
ارسم دائرة في Visio
Aspose.Diagram for .NET API يسمح للمطورين برسم شكل دائرة في الصفحة. يوضح مثال الكود أدناه كيفية رسم دائرة في رسم Visio.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 1, 2, 2); | |
// Save diagram | |
diagram.Save(dataDir + "DrawEllipseInPage_out.vsdx", SaveFileFormat.VSDX); |
ارسم دائرة في SVG
Aspose.Diagram for .NET API يسمح للمطورين برسم دائرة في الصفحة وحفظها بتنسيق SVG. يوضح مثال الكود أدناه كيفية رسم دائرة في رسم Visio وحفظها بتنسيق SVG.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 1, 2, 2); | |
// Save diagram as SVG images | |
ImageSaveOptions imageSaveOptions = new ImageSaveOptions(SaveFileFormat.SVG); | |
imageSaveOptions.PageIndex = 0; | |
diagram.Save(dataDir + "DrawEllipseInPage_out.svg", imageSaveOptions); |
ارسم دائرة في PDF
Aspose.Diagram for .NET API يسمح للمطورين برسم دائرة في الصفحة وحفظها بتنسيق PDF. يوضح مثال الكود أدناه كيفية رسم دائرة في رسم Visio وحفظها بتنسيق PDF.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 1, 2, 2); | |
// Save diagram | |
diagram.Save(dataDir + "DrawEllipseInPage_out.pdf", new PdfSaveOptions()); |
ارسم دائرة في PNG
Aspose.Diagram for .NET API يسمح للمطورين برسم دائرة في الصفحة وحفظها بتنسيق PNG. يوضح مثال الكود أدناه كيفية رسم دائرة في رسم Visio وحفظها بتنسيق PNG.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 1, 2, 2); | |
// Save diagram as PNG image | |
ImageSaveOptions imageSaveOptions = new ImageSaveOptions(SaveFileFormat.PNG); | |
imageSaveOptions.PageIndex = 0; | |
diagram.Save(dataDir + "DrawEllipseInPage_out.png", imageSaveOptions); |
ارسم دائرة في HTML
Aspose.Diagram for .NET API يسمح للمطورين برسم دائرة في الصفحة وحفظها بتنسيق HTML. يوضح مثال الكود أدناه كيفية رسم دائرة في رسم Visio وحفظها بتنسيق HTML.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 1, 2, 2); | |
// Save diagram | |
diagram.Save(dataDir + "DrawEllipseInPage_out.html", new HTMLSaveOptions()); |
ارسم شكل بيضوي في Visio
Aspose.Diagram for .NET API يسمح للمطورين برسم شكل بيضاوي في الصفحة. يوضح مثال الكود أدناه كيفية رسم شكل بيضاوي في رسم Visio.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 2, 2, 4); | |
// Save diagram | |
diagram.Save(dataDir + "DrawEllipseInPage_out.vsdx", SaveFileFormat.VSDX); |
ارسم شكل بيضوي في SVG
Aspose.Diagram for .NET API يسمح للمطورين برسم شكل بيضاوي في الصفحة وحفظه بتنسيق SVG. يوضح مثال الكود أدناه كيفية رسم شكل بيضاوي في رسم Visio وحفظه بتنسيق SVG.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 2, 2, 4); | |
// Save diagram as SVG images | |
ImageSaveOptions imageSaveOptions = new ImageSaveOptions(SaveFileFormat.SVG); | |
imageSaveOptions.PageIndex = 0; | |
diagram.Save(dataDir + "DrawEllipseInPage_out.svg", imageSaveOptions); |
ارسم شكل بيضوي في PDF
Aspose.Diagram for .NET API يسمح للمطورين برسم شكل بيضاوي في الصفحة وحفظه بتنسيق PDF. يوضح مثال الكود أدناه كيفية رسم شكل بيضاوي في رسم Visio وحفظه بتنسيق PDF.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 2, 2, 4); | |
// Save diagram | |
diagram.Save(dataDir + "DrawEllipseInPage_out.pdf", new PdfSaveOptions()); |
ارسم شكل بيضوي في PNG
Aspose.Diagram for .NET API يسمح للمطورين برسم شكل بيضاوي في الصفحة وحفظه بتنسيق PNG. يوضح مثال الكود أدناه كيفية رسم شكل بيضاوي في رسم Visio وحفظه بتنسيق PNG.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 2, 2, 4); | |
// Save diagram as PNG image | |
ImageSaveOptions imageSaveOptions = new ImageSaveOptions(SaveFileFormat.PNG); | |
imageSaveOptions.PageIndex = 0; | |
diagram.Save(dataDir + "DrawEllipseInPage_out.png", imageSaveOptions); |
ارسم شكل بيضوي في HTML
Aspose.Diagram for .NET API يسمح للمطورين برسم شكل بيضاوي في الصفحة وحفظه بتنسيق HTML. يوضح مثال الكود أدناه كيفية رسم شكل بيضاوي في رسم Visio وحفظه بتنسيق HTML.
// 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_VisioPages(); | |
// Load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
//Draw ellipse in diagram | |
diagram.Pages[0].DrawEllipse(1, 2, 2, 4); | |
// Save diagram | |
diagram.Save(dataDir + "DrawEllipseInPage_out.html", new HTMLSaveOptions()); |