RelyOnVML class

Office 2013 and later

Defines the RelyOnVML Class. When the object is serialized out as xml, its qualified name is w:relyOnVML.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class RelyOnVML : OnOffType

[ISO/IEC 29500-1 1st Edition]

relyOnVML (Utilize VML When Saving as Web Page)

This element specifies whether applications can utilize the Vector Markup Language format when saving the content of this WordprocessingML document as a web page, when graphical elements which can leverage this format are present in the document.

If this element is omitted, then a graphic image format should be used either in place of or in concert with the Vector Markup Language output in order to specify the formatting and positioning for objects which are part of the resulting web page.

[Note: This setting is intended for applications to save web pages which can be supported by legacy web browsers which do not support Vector Markup Language when attempting to read and display the resulting web page. end note]

[Example: Consider a WordprocessingML document which contains the following content within the web settings part:

<w:webSettings>
  <w:relyOnVML w:val="false" />
</w:webSettings>

The relyOnVML element has a val attribute value of false, which specifies that applications should utilize a graphical image version of all objects which could utilize Vector Markup Language output. This does not preclude the use of the VML output, but does specify that a graphical element must be included as well. end example]

Parent Elements

webSettings (§17.15.2.46)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: