DocumentHeightInTwips

This property defines the document height in TWIPs (1/20th point or 1/100th millimeter). The document size set by this property and DocumentWidthInTwips is used is used as a reference to calculate the size of text using absolute font sizes. If no document size is specified, the size of the graph in pixels and the screen resolution are used for conversion (from pixels to points). If no document size is specified (no screen resolution available), the conversion from pixels to points is simply 1 to 1.

Syntax:

setDocumentHeightInTwips(value);
value = getDocumentHeightInTwips();

where:

value

Is an integer between 0 and 10000. 0 (use the size in pixels at the given resolution) is the default value.

Note: If a non-zero value is used, Perspective will also put the size in pixels in the SVG viewport.

See DocumentWidthInTwips, getDocumentHeightInPoints(), getDocumentWidthInPoints(), setFontSizeAbsolute(), setFontSizeInPoints().


WebFOCUS