CT SET DOCUMENT SIZE

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

version 1


CT SET DOCUMENT SIZE (area; width; height)

ParameterTypeDescription
areaLongint4D Chart area
widthRealWidth of the document (in points)
-1 = No change
heightRealHeight of the document (in points)
-1 = No change

Description

The CT SET DOCUMENT SIZE command sets the size of the document area. The default size of a 4D Chart document is 588 by 768 pixels. This size may differe from the the size of a 4D Chart plug-in area or plug-in window. 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, which could be placed in the On Startup database method, sets the default document size for all new documents to 2208 x 1460 points.

   CT SET DOCUMENT SIZE (-1;2208;1460)

See Also

CT GET DOCUMENT SIZE.


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