<< Click to Display Table of Contents >>
|Type||16-bit: ShortInt, 32-bit: LongInt|
The access returns the length of the selected paper in tenths of millimeters. WARNING: This access can return 0. Normally, you should use the PtrDevice:PaperLengthInches access.
The assign lets you specify the length of the paper in millimeters. WARNING: This assign is not supported by all printer drivers.
// What is the paper length in millimeters?
nPaperLength := oPtrDevice:PaperLength
if nPaperLength > 0
// can use this value