4D v13

WR APPLY STYLESHEET

Home

 
4D Write v13
WR APPLY STYLESHEET

WR APPLY STYLESHEET 


 

WR APPLY STYLESHEET ( area ; stylesheetNumber ) 
Parameter Type   Description
area  Longint in 4D Write area
stylesheetNumber  Longint in Stylesheet number

The WR APPLY STYLESHEET command applies to the current selection in the 4D Write area designated by area the style sheet whose number is passed in styleSheetNumber. The formats of the style sheet will then be applied to the selection and the selection will appear as using that style sheet (when the cursor is in the text, the style sheet will be displayed in the style sheet drop-down list from the Style toolbar).

If styleSheetNumber does not correspond to any style sheet, the error 1078 (unknown style sheet) is be returned.

Example  

See the example for the WR Create stylesheet command.

 
PROPERTIES 

Product: 4D
Theme: WR Style Sheet
Number: 89497

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6.5

 
SEE ALSO 

WR UPDATE STYLESHEET