Expand Minimize
This topic has not yet been rated - Rate this topic

Document.ApplyQuickStyleSet Method (2007 System)

Changes the set of quick styles.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
public void ApplyQuickStyleSet(
	string Name
)

Parameters

Name
Type: System.String

The name of the set to use. This corresponds to the name listed in the Style Set list.

The following code example switches the document style set to the Fancy style set.

This example is for a document-level customization.

private void SwitchToFancyStyleSet()
{
    this.ApplyQuickStyleSet("Fancy");            
}
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.