ServerPublishOptions.IncludePage Method (Visio)

Includes the specified page for publication when the document is published as a VDW file.

Version Information

Version Added: Visio 2010

Syntax

expression .IncludePage(PageName, Flags)

expression A variable that represents a ServerPublishOptions object.

Parameters

Name

Required/Optional

Data Type

Description

PageName

Required

String

The name of the page to be published.

Flags

Required

VisLangFlags

Indicates whether a universal or local page name is specified in PageName. See Remarks for possible values.

Return Value

Nothing

Remarks

The Flags parameter must be one of the following VisLangFlags constants.

Constant

Value

Description

visLangLocal

0

The page name is a local name.

visLangUniversal

1

The page name is a universal name.

Calling the IncludePage method corresponds to selecting a page in the Pages list in the Publish Settings dialog box (click the File tab, click Save & Send, click Save to SharePoint, click Web Drawing (*.vdw), click Save As, and then click Options).