This topic describes the API operations for PDF documents.
PDFMode
Specifies the multiple-page or single-page mode.
Usage notes
expression.Enum.PDFMode.PDFNormalModeexpression: the document type application object.
Parameters
Parameter
Value
Description
PDFNormalMode
0
The multi-page mode.
PDFSingleMode
1
The single-page mode.
ZoomToFitType
Specifies whether to zoom in or out the view size that fits the new window size you modified.
Usage notes
expression.Enum.ZoomToFitType.msoTrueexpression: the document type application object.
Parameters
Parameter
Value
Description
msoTrue
-1
Zooms to the optimal view size that fits the new window size you modified.
msoFalse
0
Does not zoom to the optimal view size that fits the new window size you modified.
FixedFormatType
Specifies the format of the files that you want to export.
Usage notes
expression.Enum.FixedFormatType.TypePDFexpression: the document type application object.
Parameters
Parameter
Value
Description
TypePDF
0
The PDF format.
TypeIMG
1
The IMG format.
ExportImgFormatType
Specifies the format of the exported image .
Usage notes
expression.Enum.ExportImgFormatType.ImgTypePNGexpression: the document type application object.
Parameters
Parameter
Value
Description
ImgTypePNG
0
The PNG format.
ImgTypeJPG
1
The JPEG format.
lmgTypeBMP
2
The BMP format.
ImgTypeTIF
3
The TIFF format.
RangeType
Specifies the pages that you want to export.
Usage notes
expression.Enum.RangeType.ImgTypeAllexpression: the document type application object.
Parameters
Parameter
Value
Description
ImgTypeAll
0
All pages.
ImgTypePage
1
The specified pages.
ImgTypeCurrent
2
The current page.