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)
Usage
Dim view1 As View
Dim returnValue As WdSeekView
returnValue = view1.SeekView
Dim sampleValue As WdSeekView
view1.SeekView = sampleValue
Syntax
Property SeekView() As WdSeekView
WdSeekView SeekView {get; set;}
property WdSeekView^ SeekView{
WdSeekView^ get();
Void set(WdSeekView^);
}
public WdSeekView get_SeekView();
public void set_SeekView(WdSeekView);
function get SeekView() : WdSeekView;
function set SeekView(WdSeekView);
Remarks
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.
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
View Interface
Microsoft.Office.Interop.Word Namespace