4D View v16

PV Add style

Home

 
4D View v16
PV Add style

PV Add style 


 

PV Add style ( area ; name ) -> Function result 
Parameter Type   Description
area  Longint in 4D View area
name  String in Stylesheet name
Function result  Longint in Stylesheet ID

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.

If a style sheet having the same name already exists, an error is returned by area.



See also 

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

 
PROPERTIES 

Product: 4D View
Theme: PV Style
Number: 15897

 
HISTORY 

Created: 4D View 6.8

 
ARTICLE USAGE

4D View Language ( 4D View v16)