The PaperWidth property indicates the width of the paper, in inches or millimeters, based upon the PaperSize and Orientation properties.
control.PaperWidth[=integer8]
Integer8. Gets or sets an integer value indicating the width of the paper. The default is based upon the value of the PaperSize and Orientation property values.
In design-time, (unless PaperSize is Custom), PaperLength and PaperWidth are updated automatically (depending upon PaperSize and Orientation), to reflect the size of the paper.
For example, if PaperSize is letter and Orientation is portrait, PaperLength would be 11 and PaperWidth would be 8.5. However, if Orientation is landscape, PaperLength would be 8.5 and PaperWidth would be 11.
The PaperWidth property can not be explicitly set unless PaperSize is Custom. To set this property, click on the right side of the property and enter the width of the paper.
Note If the PaperSize property is changed, the value of PaperWidth will be overridden based upon the new size and orientation of the paper.
PrintFile Class | PrintFile Class Members | PaperLength Property | PaperSize Property | Orientation Property