CMTextFormatDescription Constants

These keys and values are used by text-based format descriptions.

Topics

Constants

kCMTextFormatDescriptionExtension_DisplayFlags

The value is a CFNumber (an SInt32 holding CMTextDisplayFlags).

kCMTextFormatDescriptionColor_Red

The value is a CFNumber (SInt8 for 3G), (SInt16 for QT).

kCMTextFormatDescriptionColor_Green

The value is a CFNumber (SInt8 for 3G), (SInt16 for QT).

kCMTextFormatDescriptionColor_Blue

The value is a CFNumber (SInt8 for 3G), (SInt16 for QT).

kCMTextFormatDescriptionColor_Alpha

The value is a CFNumber (SInt8 for 3G), not applicable for QT text.

kCMTextFormatDescriptionRect_Top

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionRect_Left

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionRect_Bottom

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionRect_Right

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionStyle_StartChar

The value is a CFNumber (SInt16 for 3G), (SInt32 for QT).

kCMTextFormatDescriptionStyle_Font

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionStyle_FontFace

The value is a CFNumber (SInt8).

kCMTextFormatDescriptionExtension_HorizontalJustification

The value is a CFNumber (SInt8) containing a CMTextJustificationValue.

kCMTextFormatDescriptionExtension_VerticalJustification

The value is a CFNumber (SInt8) containing a CMTextJustificationValue.

kCMTextFormatDescriptionStyle_EndChar

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionExtension_TextJustification

The value is a CFNumber (SInt8) containing a CMTextJustificationValue.

kCMTextFormatDescriptionStyle_Height

The value is a CFNumber (SInt16).

kCMTextFormatDescriptionStyle_Ascent

The value is a CFNumber (SInt16).