View.SeekView Property

Returns or sets the document element displayed in print layout view.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

WdSeekView SeekView { get; set; }

WdSeekView can be one of these WdSeekView constants:

wdSeekCurrentPageFooter

wdSeekCurrentPageHeader

wdSeekEndnotes

wdSeekEvenPagesFooter

wdSeekEvenPagesHeader

wdSeekFirstPageFooter

wdSeekFirstPageHeader

wdSeekFootnotes

wdSeekMainDocument

wdSeekPrimaryFooter

wdSeekPrimaryHeader

This property generates an error if the view is not print layout view.

Show: