PageSetup.LayoutMode Property
Returns or sets the layout mode for the current document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim pageSetup1 As PageSetup
Dim returnValue As WdLayoutMode
returnValue = pageSetup1.LayoutMode
Dim sampleValue As WdLayoutMode
pageSetup1.LayoutMode = sampleValue
Syntax
Property LayoutMode() As WdLayoutMode
WdLayoutMode LayoutMode {get; set;}
property WdLayoutMode^ LayoutMode{
WdLayoutMode^ get();
Void set(WdLayoutMode^);
}
public WdLayoutMode get_LayoutMode();
public void set_LayoutMode(WdLayoutMode);
function get LayoutMode() : WdLayoutMode;
function set LayoutMode(WdLayoutMode);
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
PageSetup Interface
Microsoft.Office.Interop.Word Namespace