Range.Style Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the style for the specified object.
public:
property System::Object ^ Style { System::Object ^ get(); void set(System::Object ^ value); };
public object Style { get; set; }
member this.Style : obj with get, set
Public Property Style As Object
Property Value
Remarks
To set this property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style.
When you return the style for a range that includes more than one style, only the first character or paragraph style is returned.