Enum
WordHtmlTextBackgroundMode
OfficeIMO.Word.Html
Specifies how CSS background colors on inline text are represented in Word.
Inheritance
- Enum
- WordHtmlTextBackgroundMode
Usage
Explore 3 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.
Returned or exposed by 3
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const WordHtmlTextBackgroundMode ExactShading #Uses native run shading, preserving the exact CSS color.
Value:
0public const WordHtmlTextBackgroundMode NearestHighlight #Uses the nearest color from Word's fixed text-highlight palette. A conversion diagnostic is emitted when the requested color must be approximated.
Value:
1