Поделиться через


DefaultWebOptions.RelyOnVML Property

Determines the global default setting for whether image files are generated from drawing objects when you save or publish a complete or partial presentation as a Web page. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property RelyOnVML As MsoTriState
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoTriState

value = instance.RelyOnVML

instance.RelyOnVML = value
MsoTriState RelyOnVML { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

You can override the global setting for an individual presentation by setting the RelyOnVML property of the WebOptions object for that presentation.

The value of the RelyOnVML property can be one of these MsoTriState constants.

Constant

Description

msoFalse

Images are not generated from drawing objects when you save or publish a complete or partial presentation as a Web page.

msoTrue

Image files are generated from drawing objects when you save or publish a complete or partial presentation as a Web page.

If your Web browser supports Vector Markup Language (VML), you can reduce file sizes by not generating images for drawing objects. For example, Microsoft Internet Explorer 5 and higher support this feature, and you should set the RelyOnVML property to msoTrue if you are targeting this browser. For browsers that do not support VML, the image will not appear when you view a Web page saved with this property set to msoTrue.

For example, you should not generate images if your Web page uses image files that you have generated earlier and if the location where you save the presentation is different from the final location of the page on the Web server.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace