# 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 LOGFONT lfHeight field.

Width

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

Escapement

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

Orientation

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

Weight

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

Italic

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

Underline

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

StrikeOut

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

CharSet

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

OutPrecision

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

ClipPrecision

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

Quality

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

PitchAndFamily

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

FaceName

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

## Element properties

Property | Value
--- | ---
Name | HeaderFooterFont
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

HeaderFooter

Child elements

None

## Remarks

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

## See also

HeaderFooterFont property

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp