SecFormat Property
Visio Save As Web Reference |
Specifies the secondary output format for the Web page. Read/write.
Syntax
expression.SecFormat
expression An expression that returns a VisWebPageSettings object.
Return Value
String
Remarks
The secondary output format is used if the browser does not support the primary output format. For example, if the primary format is VML and you are publishing to a Microsoft Internet Explorer 4.0 browser, which does not support VML, the Web page output uses the secondary format.
The primary output format is specified by the PriFormat property. For information about which browsers are compatible with selected formats, see the AltFormat property.
Possible values for the SecFormat property are as follows:
- JPG (JPEG File Interchage Format)
- GIF (Graphics Interchange Format)
- PNG (Portable Network Graphics)
This value corresponds to the value selected in the list below the Provide alternate format for older browsers check box (if it is selected) on the Advanced tab of the Save as Web Page dialog box (on the File menu, click Save as Web Page, click Publish, and then click Advanced).
Example
The following macro shows how to use the SecFormat property to set the secondary format value to JPG for browsers that do not support the primary format of VML (the default).
Before running this macro, replace path\filename.htm with a valid target path on your computer and the filename that you want to assign to your Web page.
Visual Basic for Applications |
---|
|
See Also