![]() ![]() |
ESRI.ArcGIS.ADF.Tasks | |
ScaleBarSettings Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Tasks Namespace > PrintTask Class : ScaleBarSettings Property |
Visual Basic (Declaration) | |
---|---|
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> <ResCategoryAttribute("PrintTask")> <ResDescriptionAttribute("Settings for the ScaleBar.")> <NotifyParentPropertyAttribute(True)> Public Property ScaleBarSettings As ItemSettings(Of Boolean) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PrintTask Dim value As ItemSettings(Of Boolean) instance.ScaleBarSettings = value value = instance.ScaleBarSettings |
C# | |
---|---|
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] [ResCategoryAttribute("PrintTask")] [ResDescriptionAttribute("Settings for the ScaleBar.")] [NotifyParentPropertyAttribute(true)] public ItemSettings<bool> ScaleBarSettings {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 "Include Scalebar" checkbox appears on the user dialog, and whether the scalebar is printed by default. If DisplayInDialog is false, then the setting in DefaultValue will determine whether the scalebar is included on the printed page.
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