_LetterContent.IncludeHeaderFooter Property 

True if the header and footer from the page design template are included in a letter created by the Letter Wizard.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim _LetterContent1 As _LetterContent

Dim returnValue As Boolean
returnValue = _LetterContent1.IncludeHeaderFooter

Dim sampleValue As Boolean
_LetterContent1.IncludeHeaderFooter = sampleValue

Syntax

Property IncludeHeaderFooter() As Boolean
bool IncludeHeaderFooter {get; set;}
property Boolean IncludeHeaderFooter{
    Boolean get();
    Void set(Boolean);
}
public boolean get_IncludeHeaderFooter();
public void set_IncludeHeaderFooter(boolean);
function get IncludeHeaderFooter() : Boolean;
function set IncludeHeaderFooter(Boolean);

Remarks

Use the PageDesign property to set the name of the template attached to a document created by the Letter Wizard.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

_LetterContent Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_LetterContent Members