Function TWPTextStyle.ASet_CSS(CssString:string; Merge:Boolean) : Integer
Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextStyle
Parameters
-
CssString:string Merge:Boolean
Returns
The type of the result value is Integer.
Description
This function loads the properties of this paragraph as CSS data.Expected is the pure style definition without name and parentheses. It returns the number of read properties.
You need to add unit WPIOCSS to the project to make the method work.
CssString is a string with a style definition. The syntax is close to the CSS standard. Merge:Boolean If the boolean parameter "Merge" is true, the attributes from the style will be merged in and not overwrite the current setting.