4D Write v16

WR APPLY STYLESHEET

Home

 
4D Write v16
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.



See also 

WR UPDATE STYLESHEET

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Write 6.5

 
ARTICLE USAGE

4D Write Language ( 4D Write v16)