PEFontColorInfo contains information regarding chart title text fonts.
typedef struct PEFontColorInfo {
WORD StructSize;
char faceName[PE_FACE_NAME_LEN]; // empty string for no change
short fontFamily;
short fontPitch;
short charSet;
short pointSize;
short isItalic;
short isUnderlined;
short isStruckOut;
short weight;
COLORREF color;
short twipSize;
} PEFontColorInfo;
Specifies the size of the PEFontColorInfo structure. Initialize this member to PE_SIZEOF_FONT_COLOR_INFO. | ||
Specifies the actual face name of the font [of length PE_FACE_NAME_LEN = 64]. The face name can typically come from a Font dialog box, be hard coded in the application or be chosen by the application from the fonts supported on the printer. For example, "Times New Roman". Pass an empty string ("") for no change. | ||
Specifies the font family for the font. Use one of the following FF_XXX Font Family Constants. | ||
| Constant | Description | |
Specifies the font pitch. Use a constant value for the font pitch as defined in WINDOWS.H. Use DEFAULT_PITCH for the current default setting. | ||
Specifies the character set. Use a constant value for the character set as defined in WINDOWS.H. Use DEFAULT_CHARSET for the current default setting. | ||
Specifies the desired point size for the selected font. Use this member or member twipSize to specify the font size. If both members are non | ||
Specifies whether the font selected should be italicized. Use TRUE for Italic font, FALSE for non | ||
Specifies whether the font selected should be underlined. Use TRUE for Underline, FALSE for no Underline, or PE_UNCHANGED for the current default setting. | ||
Specifies whether the font selected should be struck out. Use TRUE for StruckOut, FALSE for no StruckOut, or PE_UNCHANGED for the current default setting. | ||
Specifies the weight of the font. Use a constant value from the weight values defined in WINDOWS.H. Use 0 for no change. | ||
Specifies the RGB color value contained in COLORREF. Use PE_UNCHANGED_COLOR for the current default setting. | ||
Specifies the font size, in twips. Use this member or member pointSize to specify the font size. If both members are non | ||
Type PEFontColorInfo
StructSize As Integer
faceName As String * PE_FACE_NAME_LEN
fontFamily As Integer
fontPitch As Integer
charSet As Integer
pointSize As Integer
isItalic As Integer
isUnderlined As Integer
isStruckOut As Integer
weight As Integer
color As Long
twipSize As Integer
End Type
type
PEFaceNameType = array [0..PE_FACE_NAME_LEN-1 ] of Char;
PEFontColorInfo = record
StructSize : Word;
faceName : PEFaceNameType;
fontFamily : Smallint;
fontPitch : Smallint;
charSet : Smallint;
pointSize : Smallint;
isItalic : Smallint;
isUnderlined : Smallint;
isStruckOut : Smallint;
weight : Smallint;
color : COLORREF;
end;
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |