ServerPublishOptions.GetPagesToPublish Method (Visio)

Returns an array of pages that are set to be published to a server.

Version Information

Version Added: Visio 2010

Syntax

expression .GetPagesToPublish(Flags,PublishPages, NamesArray())

expression A variable that represents a ServerPublishOptions object.

Parameters

Name

Required/Optional

Data Type

Description

Flags

Required

VisLangFlags

Out parameter. Indicates whether universal or local page names are returned in NamesArray. See Remarks for possible values.

PublishPages

Required

VisPublishPages

Out parameter. Indicates whether all pages or selected pages are set to be published. See Remarks for possible values.

NamesArray()

Required

String

Out parameter. Returns the names of the pages set to be published.

Return Value

Nothing

Remarks

The Flags parameter can 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.

The PublishPages parameter can be one of the following VisPublishPages constants.

Constant

Value

Description

visPublishPageAll

0

Publish all pages.

visPublishPageSelect

1

Publish selected pages.