AltFormat property

AltFormat property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Determines whether a secondary output format for the Web page is defined.

        
          retLong = object.AltFormat
object. AltFormat = valLong

retLong

Long. Non-zero (True) if a secondary output format for the Web page is defined; otherwise, zero (False). The default is True.

object

Required. An expression that returns a VisPageWebSettings object.

valLong

Required Long. Non-zero (True) to enable selection of a secondary output format for the web page; otherwise, zero (False).

Remarks

The AltFormat property is ignored if the primary output format chosen is supported in all browsers by Microsoft Visio 2002. 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.0 or later

Microsoft Internet Explorer 4.0 or earlier

Netscape

VML

X

 

 

PNG

X

X

(Netscape 6 only)

GIF

X

X

X

JPEG

X

X

X

The AltFormat property value corresponds to the Provide alternate format for older browsers check box in the Format Options dialog box (on the File menu, select Save as Web Page, click Publish, and then click Format Options).