4D v13

PV Add style

Home

 
4D View v13
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.

 
PROPERTIES 

Product: 4D
Theme: PV Style
Number: 15897

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

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