ServerPublishOptions.GetPagesToPublish method (Visio)

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

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.