CT GET DOCUMENT SIZE

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT GET DOCUMENT SIZE (area; width; height)

ParameterTypeDescription
areaLongint4D Chart area
widthRealReceives width of the document (in points)
heightRealReceives height of the document (in points)

Description

The CT GET DOCUMENT SIZE command returns the size of the document area. A 4D Chart document can measure up to 3500 x 3500 points.

width is the width of the document area in points.

height is the height of the document area in points.

Example

This example uses the CT GET DOCUMENT SIZE command to get the current document size before changing it.

   CT GET DOCUMENT SIZE (Area;$Width;$Height)
   If ($Width<2208)
      CT SET DOCUMENT SIZE (Area;2208;730)
   End if 

See Also

CT SET DOCUMENT SIZE.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next