PDF Plugin for Xojo |

# PDFDocument.Constructor Constructor (console safe)

Constructor that takes ZipEngineHandle as parameter to enable compression in the PDF document.

Constructor(
compressor as ZipEngineHandle)

#### Parameters

compressor
  Handle to the Zip compression engine which you can get from the e-CryptIt Engine’s ZStream class.

#### Remarks

You can get ZipEngineHandle from the e-CryptIt Engine’s ZStream class like this:

using EinhugurPDFWriter
Dim pdf as PDFDocument
pdf = new PDFDocument(ZStream.GetZipEngineHandle())

#### See Also

PDFDocument Class