Enum
HtmlRenderUserAgentStyleMode
OfficeIMO.Html
Selects the bounded user-agent defaults applied before authored CSS.
Inheritance
- Enum
- HtmlRenderUserAgentStyleMode
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 HtmlRenderUserAgentStyleMode Document #Preserves OfficeIMO's document-oriented defaults, including Arial fallback and, outside direct HTML-to-PDF rendering, an uninset body. new HtmlPdfExportOptions() from OfficeIMO.Html.Pdf keeps the browser's eight CSS-pixel body margin so PDF output wraps as it does in a browser; author CSS such as body{margin:0} overrides it.
Value:
0public const HtmlRenderUserAgentStyleMode Browser #Applies selected browser defaults, including an eight CSS-pixel body margin. This does not claim complete browser user-agent stylesheet compatibility.
Value:
1