ImageGear Professional v18.2 > API Reference Guide > ART Component API Reference > ART Component Objects > IGArtPage Object > IGArtPage Properties > AttrTextAlign Property |
Gets or sets the alignment of the text in a Attach-a-Note, Pin Up Text, Text from File, Text Stamp, or Typed Text mark. Before using this property, you must load the IGArtPage Object.AttrXXX properties with the values from a specific mark by calling MarkQuery Method.
Read-write property
Long
Default Value: As per GlobalAttrTextAlign Property
Valid Values: Use the enumIGArtTextAlignMode Enumeration values to specify the alignment. For example:
AttrTextAlign = ART_TEXT_TOP + ART_TEXT_LEFT
will result in top-aligned, left justified
AttrTextAlign = ART_TEXT_BOTTOM + ART_TEXT_RIGHT
will result in bottom-aligned, right justified.
Use bottom-alignment only for single-line text; anything over 1 line long will be partially hidden. |
N/A