ServerPublishOptions.SetPagesToPublish Method (Visio)
Specifies the pages to publish to a server.
Version Information
Version Added: Visio 2010
Syntax
expression .SetPagesToPublish(PublishPages, NamesArray(), Flags)
expression A variable that represents a ServerPublishOptions object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
PublishPages |
Required |
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 |
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. |