ServerPublishOptions.GetPagesToPublish Method (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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

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.

Show: