This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > PublisherUI > ESRI.ArcGIS.PublisherUI > Interfaces > IP > IPMF Interface > IPMF.PMFSettings Property (ArcObjects .NET 10.4 SDK) |
Settings used when creating the PMF file.
[Visual Basic .NET] Public Property PMFSettings As IPropertySet
[C#] public IPropertySet PMFSettings {get; set;}
Publisher Settings control how the published map can be used by ArcReader and other applications.
Maps are published with the following settings. Maps can be published using the default settings. The default setting is listed with the setting.
These Settings are not saved in the map and are only valid during the current ArcMap session.
"PageLayout" IPageLayout is a Page Layout Object (IMXdocument.Pagelayout)
"DefaultView" as IActiveView is the current Active view. If "Default View Type" (esriAPEViewType) is set to 'esriAPEViewTypeAllViews' the current view is used for the published map.
"LayerControl" as esriAPELayerControlType defaults to esriAPELayerControlTypeAllLayers. Use this setting to control whether unchecked (non visible) layers in the map document are published.
"Password" is set as a string. The default is empty "". If you set a password, the user will have to enter the password to use the published map.
"SaveSecurePasswords" as boolean. The default is False. When set to True the passwords for secure Internet Map Service layers will be stored in the published map. Users of the published map will not need to know the internet map service password to see the data.
The following publisher settings are stored in the Map Document.
"DefaultViewType" as esriAPEViewType. The default is esriAPEViewTypeAllViews. This setting can be used to restrict the view of the published map to data view, layout view or a specific data frame. Only the specified data frame will be placed in the published map. This setting supersedes "DefaultView."
"Exportable" as Boolean. The default is True. This setting controls whether ArcReader users can create a bitmap of their current view. Set this to False to disable the Export Map command on the File Menu in ArcReader.
"Findable" as Boolean. The default is True. This setting controls whether ArcReader users can use the Find Tool. Set this to False to disable the Find tool in ArcReader.
"Identifyable" as Boolean. The default is True. This setting controls whether ArcReader users can use the Identify Tool. Set this to False to disable the Identify tool in ArcReader.
"Hyperlinkable" as Boolean. The default is True. This setting controls whether the ArcReader users can use the Hyperlink tool in ArcReader. Set this to False to disable the Hyperlink tool functionality in ArcReader.
"Printable" as Boolean. The default is True. This setting controls whether ArcReader users can use the Print Commands. Set this to False to disable the Print and Page Setup commands in ArcReader.
"ChangeLayerVisibility" as Boolean. The default is True. This setting controls whether ArcReader users can check and uncheck layer visibility in the ArcReader table of contents. Set this to False to disable the layer visibility check box in ArcReader.
"ViewTOC" as Boolean. The default is True. This setting controls whether ArcReader users can see the ArcReader table of contents. Set this to False to turn off the ArcReader table of contents. ArcReader users will not be able to turn the table of contents on while viewing the map.
"CopyToClipboard" as Boolean. The default is True. This setting controls whether ArcReader users can use the Copy Map command on the Edit Menu. Copy map allows ArcReader users to copy the current ArcReader display to the clipboard. Set this to False to disable the Copy map functionality in ArcReader.
"Measureable" as Boolean. The default is True. This setting controls whether ArcReader users can use the Measure Tool. Set this to False to disable the Measure tool in ArcReader.
"AllowPackageData" as Boolean. Default is True. Set this to False to keep the published map from being packaged.
"OpenOnlyInArcReader" as Boolean. Default is True. When True the Published map can only be used in ArcReader. It can not be used by the ArcReaderControl or ArcMap. To use a published map in the ArcReaderControl OpenOnlyInArcReader must be false.
"InternalObjectAccess" as boolean. Default is False. To use the published map in any supported ArcGIS application OpenOnlyInArcReader must be False and InternalObjectAccess must be True. If OpenOnlyInArcReader is False and InternalObjectAccess is False, the published map can be opened in ArcReaderControl applications.