This topic describes the API operations for PDF documents.
PDFMode
Specifies the multiple-page or single-page mode.
Syntax
expression.Enum.PDFMode.PDFNormalModeexpression: an Application object.
Parameters
Name
Value
Description
PDFNormalMode
0
The multi-page mode.
PDFSingleMode
1
The single-page mode.
ZoomToFitType
Specifies whether to zoom in or zoom out the view size to fit the window size.
Syntax
expression.Enum.ZoomToFitType.msoTrueexpression: an Application object.
Parameters
Name
Value
Description
msoTrue
-1
Zooms to the optimal view size that fits the document window size.
msoFalse
0
Does not zoom to the optimal view size that fits the document window size.
FixedFormatType
Specifies the type of fixed-format file to export.
Syntax
expression.Enum.FixedFormatType.TypePDFexpression: an Application object.
Parameters
Name
Value
Description
TypePDF
0
The PDF format.
TypeIMG
1
The IMG format.
ExportImgFormatType
Specifies the format of the exported image.
Syntax
expression.Enum.ExportImgFormatType.ImgTypePNGexpression: an Application object.
Parameters
Name
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.
Syntax
expression.Enum.RangeType.ImgTypeAllexpression: an Application object.
Parameters
Name
Value
Description
ImgTypeAll
0
All pages.
ImgTypePage
1
The pages within the specified range.
ImgTypeCurrent
2
The current page.
AnnoType
Specifies the type of annotations.
Syntax
expression.Enum.AnnoType.Highlightexpression: an Application object.
Parameters
Name
Value
Description
Highlight
highlight
Highlight.
Underline
underline
Underscore.
Strikeout
strikeout
Strikethrough.
TextStyle
Specifies the annotation bubble style.
Syntax
expression.Enum.TextStyle.Commentexpression: an Application object.
Parameters
Name
Value
Description
Comment
Comment
Comment bubble.
Circle
Circle
Circle.
Check
Check
Check.
Cross
Cross
Cross.
Help
Help
Question mark.
Insert
Insert
Triangle.