MindFusion.Diagramming for Xamarin Programmer's Guide
Diagram.ExportImage Method (String, IGraphicsPath, Single)
See Also
 






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

 Syntax

C#  Copy Code

public Task ExportImage (
    string filePath,
    IGraphicsPath clip,
    float scale
)

Visual Basic  Copy Code

Public Function ExportImage( _
    filePath As String, _
    clip As IGraphicsPath, _
    scale As Single _
) As Task

 Parameters

filePath

The file name or path.

clip

An IGraphicsPath instance returned by GraphicsFactory.CreatePath.

scale

Specifies the scale factor as percentage of the original size.

 Return Value

A Xamarin.Forms.ImageSource instance.

 Remarks

Pixels outside the specified path are set transparent.

 See Also

ExportImage Method Overload List
Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
CreateImage Method