ServerPublishOptions.SetPagesToPublish method (Visio)

Specifies the pages to publish to a server.

Syntax

expression. SetPagesToPublish( _PublishPages_ , _NamesArray()_ , _ Flags_ )

expression A variable that represents a ServerPublishOptions object.

Parameters

Name Required/Optional Data type Description
PublishPages Required VisPublishPages Indicates whether all pages or selected pages are to be published. See Remarks for possible values.
NamesArray() Required String The names of the pages to be published, if PublishPages is visPublishPageSelect.
Flags Required VisLangFlags Indicates whether universal or local page names are specified in NamesArray. See Remarks for possible values.

Return value

Nothing

Remarks

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

Constant Value Description
visPublishPageAll 0 Publish all pages.
visPublishPageSelect 1 Publish selected pages.

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.

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.