VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing.GraphicsFigures Namespace / OfficeDocumentFigure Class / Create Methods / Create(GraphicsFigure) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Create(GraphicsFigure) Method (OfficeDocumentFigure)
    In This Topic
    Creates the Office document figure from ContentStreamGraphicsFigure or ContentStreamGraphicsFigureGroup.
    Syntax
    'Declaration
    
    Public Overloads Shared Function Create( _
    ByVal figure
    The figure.
    As GraphicsFigure _
    ) As OfficeDocumentFigure
    public static OfficeDocumentFigure Create(
    GraphicsFigure figure
    )
    public: static OfficeDocumentFigure* Create(
    GraphicsFigure* figure
    )

    Parameters

    figure
    The figure.

    Return Value

    A new instance of OfficeDocumentFigure.
    Exceptions
    ExceptionDescription
    Thrown if figure is not ContentStreamGraphicsFigure and not ContentStreamGraphicsFigureGroup.
    Thrown if of content of figure cannot be converted to Office Document Figure.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also