SetMargins Data Member Function

Sets the margins in pixels for the output window.

Prototype

int32 SetMargins( int32 p_nLeft, int32 p_nRight, int32 p_nSaveAsDefault )

Parameters

Parameter Type Parameter Name Documentation
int32p_nLeftThe left margin in pixels.
int32p_nRightThe right margin in pixels.
int32p_nSaveAsDefaultIf true, the values are saved as the default margin values each time the application starts. Otherwise they are applied once and returned to the previous application defaults when the application restarts.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.