![]() ![]() |
ESRI.ArcGIS.ADF.Tasks | |
WidthSettings Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Tasks Namespace > PrintTask Class : WidthSettings Property |
Visual Basic (Declaration) | |
---|---|
<ResDescriptionAttribute("Settings for the Map Size.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> <ResCategoryAttribute("PrintTask")> <NotifyParentPropertyAttribute(True)> Public Property WidthSettings As WidthItemSettings |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PrintTask Dim value As WidthItemSettings instance.WidthSettings = value value = instance.WidthSettings |
C# | |
---|---|
[ResDescriptionAttribute("Settings for the Map Size.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] [ResCategoryAttribute("PrintTask")] [NotifyParentPropertyAttribute(true)] public WidthItemSettings WidthSettings {get; set;} |
A WidthItemSettings object stores properties for the drop-down list for map size that may display in the PrintTask dialog. The settings object stores these properties:
- DisplayInDialog: whether to display the drop-down list for map width size in the end user's print dialog. If false, then the DefaultValue will be used when printing.
- WidthList: a collection of WidthItem objects. Each WidthItem defines a width (size) option in the drop-down list. For example, the item may store a size of 10 cm with a name of "Medium".
- DefaultValue: the default WidthItem in the WidthList. If DisplayInDialog is false, then this width size will always be used when printing.
The height of the printed map is sized proportionately based on the chosen width and the Map control used for printing.
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