Method ToArray

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

ToArray()

Saves the document into a new byte array, for example to return it from a web endpoint.

public byte[] ToArray()

Returns

byte[]

The complete PDF file.