Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

WordDocumentCleanupOptions

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
0eef6a5756b9 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed
Attributes
Flags

Specifies document cleanup operations.

Inheritance

  • Enum
  • WordDocumentCleanupOptions

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Values

public const WordDocumentCleanupOptions None #

No cleanup.

Value: 0
public const WordDocumentCleanupOptions MergeIdenticalRuns #

Merge consecutive runs that share identical formatting.

Value: 1
public const WordDocumentCleanupOptions RemoveEmptyRuns #

Remove runs with no text content.

Value: 2
public const WordDocumentCleanupOptions RemoveRedundantRunProperties #

Remove run properties that have no children.

Value: 4
public const WordDocumentCleanupOptions RemoveEmptyParagraphs #

Delete paragraphs that end up with no runs.

Value: 8
public const WordDocumentCleanupOptions All #

Perform all cleanup operations.

Value: 15