Category Drawings and detail, Object ProDtlnotedata

Function ProDtlnotedataTextStyleGet


Description
Retrieves the text style of the note. If the note has texts with different styles, the returned style will have a mixed state for attributes that aren't the same in all texts. Inquiry functions such as ProTextStyleFontGet will return PRO_TK_GENERAL_ERROR when the attribute is in a mixed state.
Synopsis
#include <ProDtlnote.h>
ProErrorProDtlnotedataTextStyleGet(
ProDtlnotedata note_data
/* (In)
The note data.
*/
ProTextStyle* r_text_style
/* (Out)
The text style of the note. Free this using ProTextStyleFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more inputs are NULL or invalid.

Manual References:

  1. Drawings: Detail Note Data
  2. Drawings: Detail Note Data

Sample Code References:

  1. pt_examples ( TestDtlnote.c )
  2. pt_examples ( TestDtlnote.c )
  3. pt_examples ( TestDtlnote.c )
  4. pt_examples ( TestSymDefMenu.c )
  5. pt_userguide ( UgNotesColor.c )
  6. pt_userguide ( UgTableColorChange.c )