viewInheritStyle property
Sets or retrieves a value that indicates whether the document fragment inherits the Cascading Style Sheets (CSS) styles set in the primary document.
Syntax
HRESULT value = object.put_viewInheritStyle( v);HRESULT value = object.get_viewInheritStyle(* p);
Property values
Type: VARIANT_BOOL
VARIANT_TRUE (true)
Default. Document fragment inherits CSS styles.
VARIANT_FALSE (false)
Document fragment does not inherit CSS styles.
Remarks
For more information on the CSS styles that can be inherited when IHTMLElementDefaults::viewInheritStyle is set to TRUE, see About Viewlink CSS Inheritance. Inheritable CSS styles are only applied to elements in the document fragment that do not already have the corresponding CSS styles defined.
See also
Conceptual