pageHeight

Description

Returns the physical height of the current printer paper selection.

ScriptX uses the default units of measure of the user's system. In a broad network environment default units are certain to vary (they could be either inches or millimeters) so you may wish to specify a fixed unit of measure with the licensed function SetMarginMeasure.

This is a read-only property.

Syntax

height = printing.pageHeight

Example

Check out the source code of the ScriptX Scale Large Image for Printing sample.