[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.HtmlPage.ToPdfBytes

ToPdfBytes Method

ToPdfBytes(PdfOptions)

Renders the current page to a PDF document and returns it as a byte array.

Declaration
public byte[] ToPdfBytes(PdfOptions options = null)
Public Function ToPdfBytes(Optional options As PdfOptions = Nothing) As Byte()
Parameters
Type Name Description
PdfOptions options

The set of parameters for the output PDF document.

Returns
Type Description
byte[]

The byte array with a PDF document.