Predefined Text Attributes

The following values identify text attributes obtained with the ITfContext::GetAppProperty method. The data format and contents of each property type are included.

Properties

Property Description
TSATTRID_Text Not used.
TSATTRID_Text_Alignment Not used.
TSATTRID_Text_Alignment_Center Contains a nonzero value if the text is centered or zero otherwise.
TSATTRID_Text_Alignment_Justify Contains a nonzero value if the text is justified or zero otherwise.
TSATTRID_Text_Alignment_Left Contains a nonzero value if the text is left aligned or zero otherwise.
TSATTRID_Text_Alignment_Right Contains a nonzero value if the text is right aligned or zero otherwise.
TSATTRID_Text_EmbeddedObject Contains a nonzero value if the text is an embedded object or zero otherwise.
TSATTRID_Text_Hyphenation Contains a nonzero value if the text is hyphenated or zero otherwise.
TSATTRID_Text_Language Contains the LANGID language identifier of the text.
TSATTRID_Text_Link Contains a pointer to a link object. The caller must use the QueryInterface method to obtain the desired interface, such as IUniformResourceLocator.
TSATTRID_Text_Orientation Specifies the angle, in tenths of degrees, between text base line and the x-axis of the device.
TSATTRID_Text_Para Not used.
TSATTRID_Text_Para_FirstLineIndent Contains the number of points that the first line of a paragraph is indented.
TSATTRID_Text_Para_LeftIndent Contains the number of points that the paragraph is indented from the left.
TSATTRID_Text_Para_LineSpacing Not used.
TSATTRID_Text_Para_LineSpacing_AtLeast Contains the minimum number of lines for the line spacing of the paragraph.
TSATTRID_Text_Para_LineSpacing_Double Contains a nonzero value if the paragraph is double spaced or zero otherwise.
TSATTRID_Text_Para_LineSpacing_Exactly Contains the exact number of lines for the line spacing of the paragraph.
TSATTRID_Text_Para_LineSpacing_Multiple Contains the number of lines for the multiple line spacing of the paragraph.
TSATTRID_Text_Para_LineSpacing_OnePtFive Contains a nonzero value if the paragraph is one and one half line spaced or zero otherwise.
TSATTRID_Text_Para_LineSpacing_Single Contains a nonzero value if the paragraph is single spaced or zero otherwise.
TSATTRID_Text_Para_RightIndent Contains the number of points that the paragraph is indented from the right.
TSATTRID_Text_Para_SpaceAfter Contains the number of points of spacing after the paragraph.
TSATTRID_Text_Para_SpaceBefore Contains the number of points of spacing before the paragraph.
TSATTRID_Text_ReadOnly Contains zero if the text is read-only or nonzero otherwise.
TSATTRID_Text_RightToLeft Contains zero if the text is right-to-left reading or nonzero otherwise.
TSATTRID_Text_VerticalWriting Specifies if the text is vertical or horizontal. Contains zero if the text is horizontal or nonzero if the text is vertical.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
TsAttrid.h