WdStyleSort enumeration

Office 2013 and later

Indicates how to sort styles in the Styles task pane.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public enum WdStyleSort

Member nameDescription
wdStyleSortByNameSorts styles alphabetically based on the name of the style.
wdStyleSortRecommendedSorts styles based on whether they are recommended for use.
wdStyleSortByFontSorts styles based on the name of the font used.
wdStyleSortByBasedOnSorts styles based on the item indicated in the Sort Styles Based On option.
wdStyleSortByTypeSorts styles based on whether the style is a paragraph style or character style.