Function TWPTextStyle.ASetAsINI(ValueList:TWPValueList; Options:TWPStyleAsIniOptions; ParentStyleElement:TWPRTFStyleElement) : Integer
Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextStyle
Parameters
-
ValueList:TWPValueList Options:TWPStyleAsIniOptions ParentStyleElement:TWPRTFStyleElement
Returns
The type of the result value is Integer.
Description
This function reads the property values from a TWPValueList. The expected syntax is very similar to WPCSS, only that the items are provided as list, not in CSS syntax. ASetAsINI also understands element names which were used by WPTools 4 but are not now any longer used. The result is the count of properties which have been applied.ASetAsINI and
The last optional property is the reference to the item in ParStyles which is using this style object. It can be passed as nil.