Validating Text Styles
Functions Introduced:
The function
ProTextStyleValidate() checks whether the properties of text style applied to the specified object type are valid. The input arguments are:
• obj_type—Specifies the type of object on which the text style must be applied. The enumerated data type ProTextStyleObjectType defines the object type.
• r_text_style—Specifies the text style that should be applied on the specified object type.
The function returns messages if it finds text styles which are not supported in the specified object type. The message is returned as array of lines. Use the function
ProWstringArrayFree() to free memory.