PrintProps

PrintProps class

Contains elements that control how the drawing page is formatted (appears) on the printer page.

Properties

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
PageLeftMarginDoubleValueSpecifies the margin at the left of the printed page.
PageRightMarginDoubleValueSpecifies the margin at the right of the printed page.
PageTopMarginDoubleValueSpecifies the margin at the top of the printer page.
PageBottomMarginDoubleValueSpecifies the margin at the bottom of the printed page.
ScaleXDoubleValueSpecifies the percentage of magnification of the drawing page on the printer page, in the x (horizontal) direction.
ScaleYDoubleValueSpecifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.
PagesXIntValueDetermines the number of printer pages on which to fit the drawing page horizontally.
PagesYIntValueDetermines the number of printer pages on which to fit the drawing page vertically.
CenterXBoolValueDetermines whether the drawing page is centered horizontally on the printed page.
CenterYBoolValueDetermines whether the drawing page is centered vertically on the printed page.
OnPageBoolValueIndicates whether the drawing is printed on a specific number of printer pages.
PrintGridBoolValueSpecifies whether to print the grid when printing a document page.
PrintPageOrientationPrintPageOrientationDetermines whether the page is printed in portrait or landscape orientation.
PaperKindIntValueSpecifies the type of paper on which to print the page.
PaperSourceIntValueDetermines the paper source for the page.

Methods

NameDescription
deepCloneCreates deep copy of this instance.

PrintProps.Del property

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

Type: int

PrintProps.PageLeftMargin property

Specifies the margin at the left of the printed page.

Type: DoubleValue

PrintProps.PageRightMargin property

Specifies the margin at the right of the printed page.

Type: DoubleValue

PrintProps.PageTopMargin property

Specifies the margin at the top of the printer page.

Type: DoubleValue

PrintProps.PageBottomMargin property

Specifies the margin at the bottom of the printed page.

Type: DoubleValue

PrintProps.ScaleX property

Specifies the percentage of magnification of the drawing page on the printer page, in the x (horizontal) direction.

Type: DoubleValue

PrintProps.ScaleY property

Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction.

Type: DoubleValue

PrintProps.PagesX property

Determines the number of printer pages on which to fit the drawing page horizontally.

Type: IntValue

PrintProps.PagesY property

Determines the number of printer pages on which to fit the drawing page vertically.

Type: IntValue

PrintProps.CenterX property

Determines whether the drawing page is centered horizontally on the printed page.

Type: BoolValue

PrintProps.CenterY property

Determines whether the drawing page is centered vertically on the printed page.

Type: BoolValue

PrintProps.OnPage property

Indicates whether the drawing is printed on a specific number of printer pages.

Type: BoolValue

PrintProps.PrintGrid property

Specifies whether to print the grid when printing a document page.

Type: BoolValue

PrintProps.PrintPageOrientation property

Determines whether the page is printed in portrait or landscape orientation.

Type: PrintPageOrientation

PrintProps.PaperKind property

Specifies the type of paper on which to print the page.

Type: IntValue

PrintProps.PaperSource property

Determines the paper source for the page.

Type: IntValue

deepClone()

Creates deep copy of this instance.