PrintProps
PrintProps class
Contains elements that control how the drawing page is formatted (appears) on the printer page.
Properties
| Name | Type | Description |
|---|---|---|
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| PageLeftMargin | DoubleValue | Specifies the margin at the left of the printed page. |
| PageRightMargin | DoubleValue | Specifies the margin at the right of the printed page. |
| PageTopMargin | DoubleValue | Specifies the margin at the top of the printer page. |
| PageBottomMargin | DoubleValue | Specifies the margin at the bottom of the printed page. |
| ScaleX | DoubleValue | Specifies the percentage of magnification of the drawing page on the printer page, in the x (horizontal) direction. |
| ScaleY | DoubleValue | Specifies the percentage of magnification of the drawing page on the printer page, in the y (vertical) direction. |
| PagesX | IntValue | Determines the number of printer pages on which to fit the drawing page horizontally. |
| PagesY | IntValue | Determines the number of printer pages on which to fit the drawing page vertically. |
| CenterX | BoolValue | Determines whether the drawing page is centered horizontally on the printed page. |
| CenterY | BoolValue | Determines whether the drawing page is centered vertically on the printed page. |
| OnPage | BoolValue | Indicates whether the drawing is printed on a specific number of printer pages. |
| PrintGrid | BoolValue | Specifies whether to print the grid when printing a document page. |
| PrintPageOrientation | PrintPageOrientation | Determines whether the page is printed in portrait or landscape orientation. |
| PaperKind | IntValue | Specifies the type of paper on which to print the page. |
| PaperSource | IntValue | Determines the paper source for the page. |
Methods
| Name | Description |
|---|---|
| deepClone | Creates 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.