Document Solutions for Imaging
DS.Documents.Html Assembly / GrapeCity.Documents.Html Namespace / GcHtmlRenderer Class / RenderToPng Method / RenderToPng(String,PngSettings) Method
The destination file path.
The set of parameters for the output image.

In This Topic
    RenderToPng(String,PngSettings) Method
    In This Topic
    Creates a PNG image file from the source HTML.
    Syntax
    'Declaration
     
    Public Overloads Function RenderToPng( _
       ByVal outputFilePath As System.String, _
       Optional ByVal settings As PngSettings _
    ) As System.Boolean
    public System.bool RenderToPng( 
       System.string outputFilePath,
       PngSettings settings
    )

    Parameters

    outputFilePath
    The destination file path.
    settings
    The set of parameters for the output image.

    Return Value

    True if the browser process has exited; otherwise, false.
    See Also