[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=The underlying PDF representation of a document Tab=Adobe [Property] FirstPage=Sets the first page in a specified range in a document (indexes are zero-based)|1|0 LastPage=Sets the last page in a specified range in a document (indexes are zero-based)|1|0 Flags=Sets the flags to be set with doSetFlags or to be cleared with doClearFlags|21|0|NeedsSave,RequiresFullSave,IsModified,DeleteOnClose,SuppressErrors,IsEmbedded,IsLinearized,IsOptimized PagesSelection=Sets a value indicating which pages in the range are cropped with doCropPages|4|0|All,Odd,Even [Methods] *doAcquirePage=Acquires the specified page (indexes are zero-based) ARG(int index)|1|0 *doClearFlags=Clears a document’s flags|1|0 *doClose=Closes a file. If PDDoc and AVDoc are constructed with the same file, doClose destroys both objects (which closes the document in the viewer)|1|0 *doCreate=Creates a new PDDoc|1|0 *doCreateTextSelect=Creates a text selection from the specified rectangle on the specified page (indexes are zero-based) ARG(object rectangle))|1|0 *doCreateThumbs=Creates thumbnail images for the specified page range in a document (indexes are zero-based)|1|0 *doCropPages=Crops the pages in a specified range in a document|1|0 *doDeletePages=Deletes pages from a file|1|0 *doDeleteThumbs=Deletes thumbnail images from the specified pages in a document|1|0 *doGetInfo=Gets the value of a specified key in the document's Info dictionary. A maximum of 512 bytes are returned ARG(string key)|1|0 *doMovePage=Moves a page to another location within the same document ARG(int AfterThisPage, int PageToMove)|1|0 *doOpen=Opens a file ARG(string fullpath)|1|0 *doOpenAVDoc=Opens a window and displays the document in it ARG(string title)|1|0 *doSetFlags=Sets a document's flags indicating whether the document has been modified, whether the document is a temporary document and should be deleted when closed, and the version of PDF used in the file|1|0 *doSetInfo=Sets the value of a key in a document's Info dictionary ARG(MT(string value, string key))|1|0 *doSetPageMode=Sets the page mode in which a document is to be opened ARG(int mode)|1|0 onResult=Occurs after the operation and return the result ARG(bool)|2|104 *onAcquirePage=Returns the specified page with doAcquirePage ARG(object PDPage)|2| *onCreateTextSelect=Returns a text selection PDTextSelect from the specified rectangle on the specified page)|2| *onGetInfo=Returns the string if the value was read successfully. Returns an empty string if the key does not exist or its value cannot be read ARG(string)|2|2 *onOpenAVDoc=Returns a window when displays the document ARG(object AVDoc)|2| *FileName=Returns the name of the file associated with this PDDoc|3|2 *Flags=Returns a document's flags|3|1 *InstanceID=Returns the instance ID (the second element) from the ID array in the document's trailer|3|2 *JSObject=Returns a dual interface to the JavaScript object associated with the PDDoc|3| *NumPages=Returns the number of pages in a file|3|1 *PageMode=Returns a value indicating whether the Acrobat application is currently displaying only pages, pages and thumbnails, or pages and bookmarks|3|1 *PermanentID=Returns the permanent ID (the first element) from the ID array in the document's trailer|3|2 PDDoc=Defines the current document|4| FirstPage=Defines the first page in a specified range in a document (indexes are zero-based)|4|1 LastPage=Defines the last page in a specified range in a document (indexes are zero-based)|4|1 Rectangle=Defines the rectangle for the selection|4|