Command PV Add style

4D View

PV Add style

version 6.8


PV Add style (area; name) Longint

ParameterTypeDescription
areaLongint4D View area
nameStringStylesheet name

Function result Longint Stylesheet ID

Description

The PV Add style command adds a style sheet to area using the name parameter and returns its ID.

If the name for this style sheet already exists, the PV ADD STYLE command returns its ID (this number can also be obtained using the PV GET STYLE LIST command).

Example

Please refer to the example for the PV SET STYLE PROPERTY command.


See Also

PV GET STYLE LIST, PV Get style property, PV REMOVE STYLE, PV SET STYLE NAME, PV SET STYLE PROPERTY.