HeaderFooterFont Element

Specifies the font used for the header and footer text.

Syntax

<HeaderFooterFont
    [Height]
    [Width]
    [Escapement]
    [Orientation]
    [Weight]
    [Italic]
    [Underline]
    [StrikeOut]
    [CharSet]
    [OutPrecision]
    [ClipPrecision]
    [Quality]
    [PitchAndFamily]
    [FaceName]>
</HeaderFooterFont>

Attributes

Height

Optional i4. Specifies the height of the font. Equivalent to the GDI LOGFONTlfHeight field.

Width

Optional i4. Specifies the width of the font. Equivalent to the GDI LOGFONTlfWidth field.

Escapement

Optional i4. Specifies the escapement attribute of the font. Equivalent to the GDI LOGFONTlfEscapement field.

Orientation

Optional i4. Specifies the orientation of the font. Equivalent to the GDI LOGFONTlfOrientation field.

Weight

Optional i4. Specifies the weight of the font. Equivalent to the GDI LOGFONTlfWeight field.

Italic

Optional ui1. Specifies whether the font is italic. Equivalent to the GDI LOGFONTlfItalic field.

Underline

Optional ui1. Specifies whether the font is underlined. Equivalent to the GDI LOGFONTlfUnderline field.

StrikeOut

Optional ui1. Specifies whether the font is a strikeout font. Equivalent to the GDI LOGFONTlfStrikeOut field.

CharSet

Optional ui1. Specifies the character set of the font. Equivalent to the GDI LOGFONTlfCharSet field.

OutPrecision

Optional ui1. Specifies the output precision attribute of the font. Equivalent to the GDI LOGFONTlfOutPrecision field.

ClipPrecision

Optional ui1. Specifies the clipping precision of the font. Equivalent to the GDI LOGFONTlfClipPrecision field.

Quality

Optional ui1. Specifies the output quality of the font. Equivalent to the GDI LOGFONTlfQuality field.

PitchAndFamily

Optional ui1. Specifies the pitch and family of the font. Equivalent to the GDI LOGFONTlfPitchAndFamily field.

FaceName

Optional string. Specifies the type face name attribute of the font. Equivalent to the GDI LOGFONTlfFaceName field.

Element properties

Property

Value

Name

HeaderFooterFont

Minimum Occurrences

0

Maximum Occurrences

1

Element information

Parent elements

HeaderFooter

Child elements

None

For more information on GDI LOGFONT fields, search for " LOGFONT " in the Microsoft Platform SDK on MSDN.

See also

HeaderFooterFont property