Category Graphics and model display, Object ProText

Function ProTextStyleValidate


Description
Validates text style properties for specified object type
Synopsis
#include <ProNote.h>
ProErrorProTextStyleValidate(
ProTextStyleObjectType obj_type
/* (In)
Type of the object on which text style will be applied
*/
ProTextStyle r_text_style
/* (In)
Text Style to be applied
*/
wchar_t*** error_message_lines
/* (Out)
Array of lines of messages. Each line tells about an attribute not applicable on the object type You should free this memory using ProWstringArrayFree()
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully perform necessary checks.
PRO_TK_BAD_INPUTSOne or more input arguments are NULL or invalid.

Manual References:

  1. User Interface: Basic Graphics: Validating Text Styles