[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Creates a view of a PDF document in a window Tab=Adobe [Property] Acrobat=Sets Acrobat application manager|20|(empty)|Acrobat ##Open=Sets the options with doOpenInWindowEx OpenFlags=Sets the type of window view. Doc — display the PageView, scrollbars, and bookmark or thumbnails pane. External — display the PageView, scrollbars, toolbar, and bookmark or thumbnails pane. Page — display only the PageView (the window that displays the PDF file). Do not display scrollbars, the toolbar, and bookmark or thumbnails pane|21|1|Doc,External,Page UseOpenParams=Sets a value indicates that the action is overridden with the parameters that follow. Otherwise the open action of the file is used|14|1|True,False ##OpenParams=Sets the open params PgNum=Sets the page number at which the file is to be opened if UseOpenParams=True (indexes are zero-based)|1|0 PageMode=Sets the specifies page view mode if UseOpenParams=True|4|0|DontCare,UseNone,UseThumbs,UseBookmarks,FullScreen ZoomType=Sets zoom type of the page view if UseOpenParams=True|4|0|NoVary,FitPage,FitWidth,FitHeight,FitVisibleWidth,Preferred Zoom=Sets zoom factor, used only for ZoomType=NoVary and if UseOpenParams=True|1|0 Top=Used for certain zoom types (such as NoVary) if UseOpenParams=True|1|0 Left=Used for certain zoom types (such as NoVary) if UseOpenParams=True|1|0 ## ## ##Print=Sets the print options PSLevel=Sets PostScript® Language Level|14|0|Level2,Level3 BinaryOk=Sets a value indicating whether that binary data can be included in the PostScript program. Otherwise all data is encoded as 7-bit ASCII|14|0|True,False ShrinkToFit=Sets a value indicating whether that the page is shrunk (if necessary) to fit within the imageable area of the printed page|14|1|True,False Silent=Sets the silent print mode without displaying any dialog box|14|1|True,False UseExtended=Sets a value indicates whether that to use the extended print options|14|1|True,False ##Extended=Sets the extended print options Reverse=Sets a value indicating whether that print the pages in reverse order. If false, print the pages in the regular order|14|1|True,False FarEastFontOpt=Sets a value indicating whether that the destination printer has multibyte fonts|14|1|True,False EmitHalftones=Sets a value indicating whether that emit the halftones specified in the document|14|1|True,False PageOption=Sets pages in the range to print|4|0|All,Even,Odd ## ## [Methods] doView=Creates a view document|1|0 *doBringToFront=Brings the window to the front|1|0 *doClearSelection=Clears the current selection|1|0 *doClose=Closes a view document. If bNoSave is a positive number, the document is closed without saving it. If 0 and the document has been modified, the user is asked whether or not the file should be saved ARG(int bNoSave)|1|0 *doFindText=Finds the specified text, scrolls so that it is visible, and highlights it. If bCaseSensitive is a positive number, the search is case-sensitive; if 0, it is case-insensitive. If bWholeWordsOnly is a positive number, the search matches only whole words; if 0, it matches partial words. If bReset is a positive number, the search begins on the first page of the document; if 0, it begins on the current page ARG(MT(int bReset, int bWholeWordsOnly, int bCaseSensitive, string szText))|1|0 *doMaximize=Maximizes the window if bMaxSize is a positive number ARG(int bMaxSize)|1|0 *doOpen=Opens a file ARG(MT(string szFullPath[, string szTempTitle]) or string FullPath)|1|0 *doOpenInWindowEx=Opens a PDF file and displays it in a user-specified window ARG(MT(int hWnd, string FullPath)|1|0 *doPrintPages=Prints a specified range of pages (indexes are zero-based) ARG(MT(int nFirstPage, int nLastPage))|1|0 *doSetFrame=Sets the window’s size and location ARG(object iAcroRect)|1|0 *doSetTextSelection=Sets the document’s selection to the specified text selection ARG(object iAcroPDTextSelect)|1|0 *doSetTitle=Sets the window’s title ARG(string szTitle)|1|0 *doSetViewMode=Sets the mode in which the document will be viewed (pages only, pages and thumbnails, or pages and bookmarks|1|0 *doShowTextSelect=Changes the view so that the current text selection is visible|1|0 onComplete=Occurs after creating a view document ARG(view)|2|2 onError=If an error occurs, an error message appears ARG(Error message)|2|2 View=Returns a view document|3| *PageView=Returns the PageView associated with an View|3| *Frame=Returns the rectangle specifying the window’s size and location|3| *PDDoc=Returns the Document associated with an View|3| *Title=Returns the window’s title|3|2 *ViewMode=Returns the current document view mode (pages only, pages and thumbnails, or pages and bookmarks)|3|1 *IsValid=Returns a value indicating whether the View is still valid. This method only checks if the document has been closed or deleted; it does not check the internal structure of the document|3|104