Document Solutions for PDF
GrapeCity.Documents.Html / GrapeCity.Documents.Html Namespace / HtmlPage Class / ToPdfBytes Method
The set of parameters for the output PDF document.

In This Topic
    ToPdfBytes Method
    In This Topic
    Renders the current page to a PDF document and returns it as a byte array.
    Syntax
    'Declaration
     
    Public Function ToPdfBytes( _
       Optional ByVal options As PdfOptions _
    ) As System.Byte()
    public System.byte[] ToPdfBytes( 
       PdfOptions options
    )

    Parameters

    options
    The set of parameters for the output PDF document.

    Return Value

    The byte array with a PDF document.
    See Also