DrawingPageSetup Object

 

See Also UseCases Properties Methods

 



Represents the page setup of a drawing sheet object of a drawing document. The page setup is the object that stores data which defines how the drawing sheet will be 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 orientation, the ability to either select the appropriate printer format to fit the sheet format or to zoom the sheet in or out to fit the printer format.

The DrawingPageSetup object inherits most of its properties from the PageSetup object.

Using the DrawingPageSetup Object

Use the FitToPrinterFormat method to to zoom the sheet in or out to fit the printer format.

CATIA.Documents(2).ActiveSheet.DrawingPageSetup.FitToPrinterFormat

Use the ChooseBestOrientation method to activate if it is deactivated, or to deactivate if is activated, the ability to choose the best orientation to fit the printer format.

CATIA.Documents(2).ActiveSheet.DrawingPageSetup.ChooseBestOrientation

Copyright © 1994-2003, Dassault Systèmes. All rights reserved.