Default swatch size for new items.
Usage
Set_Property(OLECtrlEntID, "OLE.DefSwatchSize", Array)
Values
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Width | Integer | The width of new items' swatches | 13 |
<2> | Width | Integer | The height of new items' swatches | 13 |
Remarks
The DefSwatchSize property establishes the default swatch dimensions for new items. Setting this property will not change existing items. Instead, newly added items will take on the setting established in this property. See the ItemSwatchSize property for details.
For more information on how default properties can make you more efficient, see the Default Properties article.
Example
// Make swatches 24 pixels wide by default Set_Property(@Window:".OLE_TREE", "OLE.DefSwatchSize", 13)