pycatia.in_interfaces.drafting_page_setup

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.in_interfaces.drafting_page_setup.DraftingPageSetup(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
InfInterfaces.PageSetup
DraftingPageSetup

Represents the page setup for the drawing documents.
The page setup is the object that stores data which defines how your documents
and images are actually printed on paper. This data includes namely the paper
size, the orientation, the bottom, top, right, and left margins, the zoom
factor, the banner, the printing quality, the choice of the best orientation,
and the choice to fit either the drawing sheet format or the printer
format.
property choose_best_orientation: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property ChooseBestOrientation() As boolean

Activates or deactivates the choice of the best
orientation.

Example:
This example requests the best orientation to be chosen for
MySheet.

MySheet.DrawingPageSetUp.ChooseBestOrientation = TRUE
Return type:

bool

property fit_to_printer_format: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property FitToPrinterFormat() As boolean

Fits the format of the print to the printer format.

Example:
This example turns this calculation on.

MySheet.DrawingPageSetUp.FitToPrinterFormat = TRUE
Return type:

bool

property fit_to_sheet_format: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property FitToSheetFormat() As boolean

Fits the format of the print to the sheet format.

Example:
This example turns this calculation on.

MySheet.DrawingPageSetUp.FitToSheetFormat = TRUE
Return type:

bool