WebOptions Object

Microsoft Publisher Visual Basic

WebOptions Object

Application WebOptions

Represents the properties of a Web publication, including options for saving and encoding the publication, and enabling Web-safe fonts and font schemes. The WebOptions object is a member of the Application object.

Using the WebOptions Object

Use the WebOptions property on the Application object to return a WebOptions object. The following example sets an object variable equal to Publisher's WebOptions object.

Dim theWO As WebOptions

Set theWO = Application.WebOptions
		

The properties of the WebOptions object are used to specify the behavior of Web publications. This means that when any of these properties are modified, newly created Web publications will inherit the modified properties.

Note that the WebOptions object is available from print publications as well as Web publications. However, the properties of this object have no effect on print publications.