Adobe Acrobat ActiveX Control

"Adobe Acrobat Control for ActiveX"
"PDF.PdfCtrl.5"
"{CA8A9780-280D-11CF-A24D-444553540000}"

 

ActiveX_PDF.gif

Properties

.src : string

Get/Set the source PDF file.

Methods

.LoadFile fileName:string

Load a new PDF file.

.setShowToolbar On:Boolean

When the argument is false, the toolbar will be hidden. When the argument is true, the toolbar will be displayed.

ActiveX_PDF_notoolbar.gif

.gotoFirstPage()

Positions the PDF document at the first page.

.gotoLastPage()

Positions the PDF document at the last page.

.gotoNextPage()

Moves to the next page in the PDF document.

.gotoPreviousPage()

Moves to the previous page in the PDF document.

.setCurrentPage n:integer

Sets the current page of the PDF document to the supplied integer argument.

.goForwardStack()

 

.goBackwardStack()

 

.setPageMode pageMode:string

Set the page mode to the supplied string argument.

.setLayoutMode layoutMode:string

Set the layout mode to the supplied string argument.

.setNamedDest namedDest:string

Set a named destination.

.Print()

Print the PDF document.

.printWithDialog()

Open the Print... dialog.

.setZoom percent:float

Set the Zoom to the specified float value.

.setZoomScroll percent:float left:float top:float

Set Zoom and Scroll to the specified float values.

.setView viewMode:string

Set the view to the specified view mode.

.setViewScroll viewMode:string offset:float

Set the view to the specified view mode and the offset to the specified float value.

.setViewRect left:float top:float width:float height:float

Set the view to the rectangular area defined by the upper left corner, width and height values.

.printPages from:integer to:integer

Print a range of pages.

.printPagesFit from:integer to:integer shrinkToFit:boolean

Print a range of pages with optional fitting.

.printAll()

Print all pages.

.printAllFit shrinkToFit:Boolean

Print a all pages, shrinking them to fit the paper format when the supplied argument is set to true.

.setShowScrollbars On:Boolean

Enable/Disable the Scrollbars display.

ActiveX_PDF_noscrollbar.gif ActiveX_PDF_scrollbar.gif

.AboutBox()

Open the About box. (Does not work at the moment)

Events

No events exposed by this control.

See also

ActiveX Controls in MAXScript Rollouts