Exports a bitmap file containing an image of the diagram, clipped by specified path and scaled by specified factor.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public void ExportImage ( |
Visual Basic Copy Code |
---|
Public Sub ExportImage( _ |
The file name or path.
An IGraphicsPath instance returned by GraphicsFactory.CreatePath.
Specifies the scale factor as percentage of the original size.
Specifies whether images are pre-rendered within a graphic context prior to an export. This is useful, when the exported diagram is not being drawn on an actual graphic context. The default value is false.
Pixels outside the specified path are set transparent.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |