VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml Namespace / OpenXmlPage Class / Render Methods / Render(RectangleF,Single,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>,EventHandler<IntermediateImageRequestEventArgs>) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Render(RectangleF,Single,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>,EventHandler<IntermediateImageRequestEventArgs>) Method (OpenXmlPage)
    In This Topic
    Returns the rendered image of the page.
    Syntax
    'Declaration
    
    Public Overloads Function Render( _
    ByVal rect
    Rectangle on this page in pixels.
    As System.Drawing.RectangleF, _
    ByVal scale
    Scale factor.
    As Single, _
    ByVal decodingSettings
    The decoding settings.
    As Vintasoft.Imaging.Codecs.Decoders.DecodingSettings, _
    ByVal renderingSettings
    The rendering settings.
    As Vintasoft.Imaging.Codecs.Decoders.RenderingSettings, _
    ByVal renderingProgress
    An image rendering progress delegate.
    As System.EventHandler(Of ProgressEventArgs), _
    ByVal intermediateImageRequest
    Delegate for requesting intermediate image. Can be set to null (Nothing in Visual Basic)
    As System.EventHandler(Of IntermediateImageRequestEventArgs) _
    ) As Vintasoft.Imaging.VintasoftImage

    Parameters

    rect
    Rectangle on this page in pixels.
    scale
    Scale factor.
    decodingSettings
    The decoding settings.
    renderingSettings
    The rendering settings.
    renderingProgress
    An image rendering progress delegate.
    intermediateImageRequest
    Delegate for requesting intermediate image. Can be set to null (Nothing in Visual Basic)

    Return Value

    Rendered image of the page.
    Exceptions
    ExceptionDescription
    Thrown if renderingSettings is null.
    Requirements

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

    See Also