PageSizeX Property

A Double type property. Gets and sets the width (the horizontal size) of a document page.

Applies to: Document object

Syntax

[[Let] xSizeRet =] object.PageSizeX

[Let] object.PageSizeX = xSizeSet

The PageSizeX property syntax has these parts:

Part Description
object Required. An expression that returns a Document object.
xSizeRet Optional. A Double type variable.
xSizeSet Required. An expression that returns a Double value. The new value for the document page width.

Remarks

All pages of the document have the same width. The value of the page width is set in the internal units of ConceptDraw (InternalUnit).

The PageSizeX property can take only positive values. Changing the value of PageSizeX re-draws all pages of the document to reflect the new width. The value of the PageSizeX property can be also viewed and changed in the following dialog in ConceptDraw: "File->Document Properties->Page".

Example

thisDoc.PageSizeX = 700

 

See Also

PageSizeY property