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