3.7.5.90 System.Rect

Read and set rectangle format options

LabTalk Object Type:

Utility

The rect object is a subobject of the system object. The rect object properties allow you to read and set rectangle format options stored in the SYSTEM.CNF file. These properties are set in the user interface through the Object Properties dialog box. Note that setting these properties through script will overwrite the values in SYSTEM.CNF when the Origin session terminates.


Properties:

Property Access Description
System.rect.backcolor Read/write
numeric

Fill color following the Origin color palette: 1 = black, 2 = red, 3 = green, 4 = blue, etc.

System.rect.color Read/write
numeric

Border color following the Origin color palette: 1 = black, 2 = red, 3 = green, 4 = blue, etc.

System.rect.fillPattern Read/write
numeric

Fill pattern by order on the Fill Pattern tab of Object Properties: 1 = none, 2 = dense, 3 = medium, etc.

System.rect.fillWidth Read/write
numeric

Fill pattern width in point size.

System.rect.forecolor Read/write
numeric

Pattern color following the Origin color palette: 1 = black, 2 = red, 3 = green, 4 = blue, etc.

System.rect.linetype Read/write
numeric

Border type by order on the Border tab of Object Properties: 0 = solid, 1 = dash, 2 = dot, etc.

System.rect.width Read/write
numeric

Border width in point size.

See Also:

Label, System.Circle, System.Line, System.Line4, System.Polygon, System.Polyline