![]() ![]() |
ESRI.ArcGIS.ADF.Tasks | |
MapSettings Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Tasks Namespace > PrintTask Class : MapSettings Property |
Visual Basic (Declaration) | |
---|---|
<NotifyParentPropertyAttribute(True)> <ResCategoryAttribute("PrintTask")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> <ResDescriptionAttribute("Settings for the Print results only option.")> Public Property MapSettings As ItemSettings(Of Boolean) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PrintTask Dim value As ItemSettings(Of Boolean) instance.MapSettings = value value = instance.MapSettings |
C# | |
---|---|
[NotifyParentPropertyAttribute(true)] [ResCategoryAttribute("PrintTask")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] [ResDescriptionAttribute("Settings for the Print results only option.")] public ItemSettings<bool> MapSettings {get; set;} |
An ItemSettings class stores settings for aspects of the PrintTask dialog. The base ItemSettings class contains two properties: DisplayInDialog, which determines whether the item is visible on the user dialog, and DefaultValue, which is the default value for the item. In this case, the ItemSettings determines whether the "Print the Map" checkbox appears on the user dialog, and whether the map is printed by default. If DisplayInDialog is false, then the setting in DefaultValue will determine whether the map is printed.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family