Table of contents
TOC
Collapse the table of content
Expand the table of content

ServerPublishOptions.SetPagesToPublish Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Specifies the pages to publish to a server.

Syntax

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

expression A variable that represents a ServerPublishOptions object.

Parameters

NameRequired/OptionalData TypeDescription
PublishPagesRequiredVisPublishPagesIndicates whether all pages or selected pages are to be published. See Remarks for possible values.
NamesArray()RequiredStringThe names of the pages to be published, if PublishPages is visPublishPageSelect .
FlagsRequiredVisLangFlagsIndicates 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.

ConstantValueDescription
visPublishPageAll0Publish all pages.
visPublishPageSelect1Publish selected pages.

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

ConstantValueDescription
visLangLocal0The page name is a local name.
visLangUniversal1The page name is a universal name.
© 2018 Microsoft