Share via


Style.BaseStyle Property 

Returns or sets an existing style on which you can base the formatting of another style. Read/write Object.

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

Usage

Dim style1 As Style

Dim returnValue As Object
returnValue = style1.BaseStyle

Dim sampleValue As Object
style1.BaseStyle = sampleValue

Syntax

Property BaseStyle() As Object
object BaseStyle {get; set;}
property Object^ BaseStyle{
    Object^ get();
    Void set(Object^);
}
public System.Object get_BaseStyle();
public void set_BaseStyle(System.Object);
function get BaseStyle() : Object;
function set BaseStyle(Object);

Remarks

To set this property, specify either the local name of the base style, an integer or a WdBuiltinStyle constant, or an object that represents the base style.

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

Style Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Style Members