Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / SaveAsPng Method / SaveAsPng(String,ViewState,SaveAsImageOptions) Method
The output file path.
The document view state.
The SaveAsImageOptions object.

In This Topic
    SaveAsPng(String,ViewState,SaveAsImageOptions) Method
    In This Topic
    Saves the page as an image to a file in PNG format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsPng( _
       ByVal filePath As System.String, _
       ByVal viewState As ViewState, _
       Optional ByVal options As SaveAsImageOptions _
    ) 
    public void SaveAsPng( 
       System.string filePath,
       ViewState viewState,
       SaveAsImageOptions options
    )

    Parameters

    filePath
    The output file path.
    viewState
    The document view state.
    options
    The SaveAsImageOptions object.
    See Also