VisWebPageSettings.AltFormat property
Determines whether a secondary output format for the webpage is defined. Read/write.
Syntax
expression.AltFormat
expression An expression that returns a VisWebPageSettings object.
Return value
Long
Remarks
The AltFormat property returns non-zero (True) if a secondary output format for the webpage is defined; otherwise, it returns zero (False). The default is True.
Set the AltFormat property to a non-zero value (True) to enable selection of a secondary output format for the webpage; otherwise, set it to zero (False).
The AltFormat property is ignored if the primary output format chosen is supported in all browsers by Microsoft Visio 2010. For more information about primary and secondary output formats, see the PriFormat and SecFormat properties.
The following table shows the compatibility of several browsers with various graphic file types and features.
Format type | Microsoft Internet Explorer 6 or later | Microsoft Internet Explorer 5 or earlier | Firefox 3 or later |
---|---|---|---|
XAML | Yes with plug-in | No | Yes with plug-in |
VML | Yes | Varies | No |
SVG | Yes with plug-in | Yes with plug-in | Partial |
PNG | Yes | Yes | Yes |
GIF | Yes | Yes | Yes |
JPEG | Yes | Yes | Yes |
The AltFormat property corresponds to the Provide alternate format for older browsers check box on the Advanced tab of the Save as Web Page dialog box (BackstageButton tab > Save As > Save as type list > Web Page (*.htm;*.html) > Publish > Advanced).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.