Multimedia2DRendering Enumeration CATPrintTextAttribute
enum CATPrintTextAttribute {
CATPRINTTEXT_TYPEFACE,
CATPRINTTEXT_CHARSET,
CATPRINTTEXT_HEIGHT,
CATPRINTTEXT_WIDTH,
CATPRINTTEXT_WEIGHT,
CATPRINTTEXT_SLANT,
CATPRINTTEXT_DIRECTION,
CATPRINTTEXT_ALIGNMENT,
CATPRINTTEXT_EXTRASPACING,
CATPRINTTEXT_EXPANSION,
CATPRINTTEXT_SPACING,
CATPRINTTEXT_STYLE,
CATPRINTTEXT_DEFAULTFONT,
CATPRINTTEXT_COURIER,
CATPRINTTEXT_HELVETICA,
CATPRINTTEXT_TIMES,
CATPRINTTEXT_SYMBOL,
CATPRINTTEXT_AVANTGARDE,
CATPRINTTEXT_BOOKMAN,
CATPRINTTEXT_SCHOOLBOOK,
CATPRINTTEXT_PALATINO,
CATPRINTTEXT_ZAPFCHANCERY,
CATPRINTTEXT_ZAPFDINGBATS,
CATPRINTTEXT_OTHERFONT,
CATPRINTTEXT_FIRSTFONT,
CATPRINTTEXT_LASTFONT,
CATPRINTTEXT_STANDARD,
CATPRINTTEXT_VERYLIGHT,
CATPRINTTEXT_LIGHT,
CATPRINTTEXT_NORMAL,
CATPRINTTEXT_BOLD,
CATPRINTTEXT_VERYBOLD,
CATPRINTTEXT_ITALIC,
CATPRINTTEXT_OBLIQUE,
CATPRINTTEXT_BOTTOMLEFT,
CATPRINTTEXT_BASELEFT,
CATPRINTTEXT_HALFLEFT,
CATPRINTTEXT_TOPLEFT,
CATPRINTTEXT_BOTTOMCENTER,
CATPRINTTEXT_BASECENTER,
CATPRINTTEXT_HALFCENTER,
CATPRINTTEXT_TOPCENTER,
CATPRINTTEXT_BOTTOMRIGHT,
CATPRINTTEXT_BASERIGHT,
CATPRINTTEXT_HALFRIGHT,
CATPRINTTEXT_TOPRIGHT,
CATPRINTTEXT_PITCH,
CATPRINTTEXT_KERNING,
CATPRINTTEXT_VERSION
}
Text attribute.
- Values:
-
- CATPRINTTEXT_TYPEFACE
- The typeface of the text is defined in the available fonts below.
Legal values: The default is CATPRINTTEXT_DEFAULTFONT.
- CATPRINTTEXT_CHARSET
- The character set of the text is defined in the available charsets below.
- CATPRINTTEXT_HEIGHT
- The font height. Its value must be a positive floating-point value.
Legal values: The default is 4.
- CATPRINTTEXT_WIDTH
- The font width. Its value must be a positive floating-point value.
- CATPRINTTEXT_WEIGHT
- The font weight is defined in the available weights below.
Legal values: The default is CATPRINTTEXT_NORMAL.
- CATPRINTTEXT_SLANT
- The slant angle of the characters. Its value must be a floating-point value in counterclockwise degrees.
Legal values: The default is 0.
- CATPRINTTEXT_DIRECTION
- The direction angle of the text. Its value must be a floating-point value in counterclockwise degrees.
Legal values: The default is 0.
- CATPRINTTEXT_ALIGNMENT
- The alignment of the text is defined in the available alignments below.
Legal values: The default is CATPRINTTEXT_BASELEFT.
- CATPRINTTEXT_EXTRASPACING
- The extra spacing between chars only for Windows. Its value must be a floating-point value.
Legal values: The default is 0.
- CATPRINTTEXT_EXPANSION
- The character expansion factor. Its value must be a floating-point value.
Legal values: The default is 1.
- CATPRINTTEXT_SPACING
- The character spacing factor. Its value must be a floating-point value.
Legal values: The default is -10000.
- CATPRINTTEXT_STYLE
- The font style is defined in the available styles below.
Legal valuers: The default is CATPRINTTEXT_NORMAL.
- CATPRINTTEXT_DEFAULTFONT
- The typeface of the text is the default font.
- CATPRINTTEXT_COURIER
- The typeface of the text is the Courier font.
- CATPRINTTEXT_HELVETICA
- The typeface of the text is the Helvetica font.
- CATPRINTTEXT_TIMES
- The typeface of the text is the Times Roman font.
- CATPRINTTEXT_SYMBOL
- The typeface of the text is the Symbol font.
- CATPRINTTEXT_AVANTGARDE
- The typeface of the text is the ITC Avant Garde Gothic Book font.
- CATPRINTTEXT_BOOKMAN
- The typeface of the text is the ITC Bookman font.
- CATPRINTTEXT_SCHOOLBOOK
- The typeface of the text is the New Century Schoolbook font.
- CATPRINTTEXT_PALATINO
- The typeface of the text is the Palatino font.
- CATPRINTTEXT_ZAPFCHANCERY
- The typeface of the text is the ITC Zapf Chancery font.
- CATPRINTTEXT_ZAPFDINGBATS
- The typeface of the text is the ITC Zapf Dingbats font.
- CATPRINTTEXT_OTHERFONT
- The typeface of the text is another font not precised.
- CATPRINTTEXT_FIRSTFONT
- The typeface of the text is the first font defined = CATPRINTTEXT_DEFAULTFONT.
- CATPRINTTEXT_LASTFONT
- The typeface of the text is the last font defined = CATPRINTTEXT_ZAPFDINGBATS.
- CATRINTTEXT_STANDARD
- The charset of the font is the standard one.
- CATPRINTTEXT_VERYLIGHT
- The weight of the font is very light.
- CATPRINTTEXT_LIGHT
- The weight of the font is light.
- CATPRINTTEXT_NORMAL
- The weight of the font is normal.
- CATPRINTTEXT_BOLD
- The weight of the font is bold.
- CATPRINTTEXT_VERYBOLD
- The weight of the font is very bold.
- CATPRINTTEXT_ITALIC
- The font will use italic glyphs if possible.
- CATPRINTTEXT_OBLIQUE
- The font will use oblique glyphs, which are just skewed normal glyphs.
- CATPRINTTEXT_BOTTOMLEFT
- The alignment of the text is bottom left.
- CATPRINTTEXT_BASELEFT
- The alignment of the text is base left.
- CATPRINTTEXT_HALFLEFT
- The alignment of the text is half left.
- CATPRINTTEXT_TOPLEFT
- The alignment of the text is top left.
- CATPRINTTEXT_BOTTOMCENTER
- The alignment of the text is bottom center.
- CATPRINTTEXT_BASECENTER
- The alignment of the text is base center.
- CATPRINTTEXT_HALFCENTER
- The alignment of the text is half center.
- CATPRINTTEXT_TOPCENTER
- The alignment of the text is top center.
- CATPRINTTEXT_BOTTOMRIGHT
- The alignment of the text is bottom right.
- CATPRINTTEXT_BASERIGHT
- The alignment of the text is base right.
- CATPRINTTEXT_HALFRIGHT
- The alignment of the text is half right.
- CATPRINTTEXT_TOPRIGHT
- The alignment of the text is top right.
- CATPRINTTEXT_PITCH
- internal use only.
- CATPRINTTEXT_KERNING
- internal use only.
Specify whether the font kerning is enabled. Its value may be 1 (enabled) or 0 (disabled).
Legal values: The default is 0.
- CATPRINTTEXT_VERSION
- internal use only.
This object is included in the file: CATPrintTextAttribute.h
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.