A wx.Window for hosting ActiveX controls. The COM interface of the ActiveX control is accessible through the ctrl property of this class, and this class is also set as the event sink for COM events originating from the ActiveX control. In other words, to catch the COM events you merely have to derive from this class and provide a method with the correct name. See the comtypes package documentation for more details.
All parameters are like those used in normal wx.Windows with |
|
Unloads any DLLs that are no longer in use when all COM object instances are |
|
Deprecated: No longer available - do not use. |
|
Goes to the previous view on the view stack, if it exists. |
|
Goes to the next view on the view stack, if it exists. |
|
Goes to the first page in the document. |
|
Goes to the last page in the document. |
|
Goes to the next page in the document, if it exists |
|
Goes to the previous page in the document, if it exists. |
|
Opens and displays the specified document within the browser. |
|
Prints the document according to the specified options in a user dialog box. |
|
Prints the entire document without displaying a user |
|
Prints the entire document without a user dialog box, and |
|
Prints the specified pages without displaying a user dialog box. |
|
Prints the specified pages without displaying a user |
|
Prints the document according to the specified options in |
|
Goes to the specified page in the document. Maintains the |
|
LayoutMode possible values |
|
Changes the page view to the named destination in the specified string. |
|
Sets the page mode to display the document only, or to |
|
Determines whether scrollbars will appear in the document |
|
Determines whether a toolbar will appear in the application. |
|
Determines how the page will fit in the current view. |
|
Sets the view rectangle according to the specified coordinates. |
|
Sets the view of a page according to the specified string. |
|
Sets the magnification according to the specified value |
|
Sets the magnification according to the specified value, |
A wx.Window for hosting ActiveX controls. The COM interface of the ActiveX control is accessible through the ctrl property of this class, and this class is also set as the event sink for COM events originating from the ActiveX control. In other words, to catch the COM events you merely have to derive from this class and provide a method with the correct name. See the comtypes package documentation for more details.
All parameters are like those used in normal wx.Windows with the addition of axID which is a string that is either a ProgID or a CLSID used to identify the ActiveX control.
Unloads any DLLs that are no longer in use when all COM object instances are released. This prevents the error ‘The instruction at “0x0700609c” referenced memory at “0x00000014”. The memory could not be read’ when application closes
Deprecated: No longer available - do not use.
Goes to the previous view on the view stack, if it exists.
Goes to the next view on the view stack, if it exists.
Goes to the first page in the document.
Goes to the last page in the document.
Goes to the next page in the document, if it exists
Goes to the previous page in the document, if it exists.
Opens and displays the specified document within the browser.
Prints the document according to the specified options in a user dialog box.
Prints the entire document without displaying a user dialog box. The current printer, page settings, and job settings are used. This method returns immediately, even if the printing has not completed.
Prints the entire document without a user dialog box, and (if shrinkToFit) shrinks pages as needed to fit the imageable area of a page in the printer.
Prints the specified pages without displaying a user dialog box.
Prints the specified pages without displaying a user dialog box, and (if shrinkToFit) shrinks pages as needed to fit the imageable area of a page in the printer.
Prints the document according to the specified options in a user dialog box. These options may include embedded printing and specifying which printer is to be used.
NB. The page range in the dialog defaults to ‘From Page 1 to 1’ - Use Print() above instead. (dfh)
Goes to the specified page in the document. Maintains the current location within the page and zoom level. npage is the page number of the destination page. The first page in a document is page 0.
## Oh no it isn’t! The first page is 1 (dfh)
LayoutMode possible values:
‘DontCare’ |
use the current user preference |
‘SinglePage’ |
use single page mode (as in pre-Acrobat 3.0 viewers) |
‘OneColumn’ |
use one-column continuous mode |
‘TwoColumnLeft’ |
use two-column continuous mode, first page on the left |
‘TwoColumnRight’ |
use two-column continuous mode, first page on the right |
Changes the page view to the named destination in the specified string.
Sets the page mode to display the document only, or to additionally display bookmarks or thumbnails. pageMode = ‘none’ or ‘bookmarks’ or ‘thumbs’.
## NB.’thumbs’ is case-sensitive, the other are not (dfh)
Determines whether scrollbars will appear in the document view.
## NB. If scrollbars are off, the navigation tools disappear as well (dfh)
Determines whether a toolbar will appear in the application.
Determines how the page will fit in the current view. viewMode possible values:
‘Fit’ |
fits whole page within the window both vertically and horizontally. |
‘FitH’ |
fits the width of the page within the window. |
‘FitV’ |
fits the height of the page within the window. |
‘FitB’ |
fits bounding box within the window both vertically and horizontally. |
‘FitBH’ |
fits the width of the bounding box within the window. |
‘FitBV’ |
fits the height of the bounding box within the window. |
Sets the view rectangle according to the specified coordinates.
left – The upper left horizontal coordinate.
top – The vertical coordinate in the upper left corner.
width – The horizontal width of the rectangle.
height – The vertical height of the rectangle.
Sets the view of a page according to the specified string. Depending on the view mode, the page is either scrolled to the right or scrolled down by the amount specified in offset. Possible values of viewMode are as in setView above. offset is the horizontal or vertical coordinate positioned either at the left or top edge.
Sets the magnification according to the specified value expressed as a percentage (float)
Sets the magnification according to the specified value, and scrolls the page view both horizontally and vertically according to the specified amounts.
left – the horizontal coordinate positioned at the left edge.
top – the vertical coordinate positioned at the top edge.