ESRI.ArcGIS.ADF.IMS
AutoResize Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : AutoResize Property




Gets or sets a property indicating if the image should resize if the values for the image-width or image-height are not supported.

Syntax

Visual Basic (Declaration) 
Public Property AutoResize As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ImageDescriptor
Dim value As Boolean
 
instance.AutoResize = value
 
value = instance.AutoResize
C# 
public bool AutoResize {get; set;}

Example

For an example, see the PixelLimit property .

Remarks

Allows the server to automatically reduce the size of the requested image, if necessary, to fit within the PixelLimit value. For a discussion of size limitations, see the remarks for PixelLimit.

The default is false.

If set to true, the resulting map drawn may be smaller than specified in Height and Width. If so, Height and Width are changed to match the drawn map. It may be necessary to check Height and Width and resize any display controls correspondingly.

Requirements

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

See Also

© 2011 All Rights Reserved.