DocumentBase.ApplyQuickStyleSet2(Object) Method
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.
Applies the specified quick style set to the document.
public:
void ApplyQuickStyleSet2(System::Object ^ % style);
public void ApplyQuickStyleSet2 (ref object style);
member this.ApplyQuickStyleSet2 : obj -> unit
Public Sub ApplyQuickStyleSet2 (ByRef style As Object)
Parameters
- style
- Object
The name of the style set to use. Can be either a string that specifies the name of the set to use (the string corresponds to the names listed in the Style Set list) or one of the Microsoft.Office.Interop.Word.WdApplyQuickStyleSets
values.
Exceptions
This method is used in a Word 2007 project.
Remarks
This method appears in IntelliSense in Word 2007 projects that target the .NET Framework 4. However, this property cannot be used in Word 2007 projects.