Document Solutions for PDF
DS.Documents.Html Assembly / GrapeCity.Documents.Html Namespace / GcHtmlRenderer Class / RenderToPdf Method / RenderToPdf(String,PdfSettings) Method
The destination file path.
The set of parameters for the output PDF file.

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

    Parameters

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

    Return Value

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