API Reference
Enum
DocumentCleanupOptions
Specifies document cleanup operations.
Inheritance
- Enum
- DocumentCleanupOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method WordDocument.CleanupDocument
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const DocumentCleanupOptions MergeIdenticalRuns #Merge consecutive runs that share identical formatting.
Value:
1public const DocumentCleanupOptions RemoveRedundantRunProperties #Remove run properties that have no children.
Value:
4public const DocumentCleanupOptions RemoveEmptyParagraphs #Delete paragraphs that end up with no runs.
Value:
8