DataGate Print File Designer®

PrintFile.PaperLength Property

The PaperLength property indicates the length of the paper.

control.PaperLength[=integer8]

Property Value

Integer8.  Gets or sets an integer value indicating the length of the paper.  The default is 11.

Remarks

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 PaperLength 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 length of the paper.

Note  If the PaperSize property is changed, the value of PaperLength will be overridden based on the new size and orientation of the paper.

See Also

PrintFile Class | PrintFile Class Members | PaperWidth Property | PaperSize Property | Orientation Property