ESRI.ArcGIS.ADF.IMS
AutoResize Property
See Also 
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.

See Also

© 2010 All Rights Reserved.