SaveToVariant

Document management

Description

Similar to the SaveToFile function, but allows the PDF document to be written to a byte array variant.

Syntax

ActiveX

Function PDFlib::SaveToVariant As Variant

Return values

Empty arrayThe document could not be generated
ArrayA byte array containing the PDF data