Share via


AltFormat Property

Visio Save As Web Reference

Determines whether a secondary output format for the Web page 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 Web page 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 web page; otherwise, set it to zero (False).

The AltFormat property is ignored if the primary output format chosen is supported in all browsers by Microsoft Office Visio 2007. 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 5 or later Microsoft Internet Explorer 4.0 or earlier

VML

X

 

PNG

X

X

GIF

X

X

JPEG

X

X

SVG

X

X

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 (on the File menu, click Save as Web Page, click the Publish button, and then click the Advanced tab).

See Also