ESRI.ArcGIS.ADF.Web
ImageDescriptor Constructor(ImageFormat,Int32,Int32,Int32)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web Namespace > ImageDescriptor Class > ImageDescriptor Constructor : ImageDescriptor Constructor(ImageFormat,Int32,Int32,Int32)




imageFormat
The format of the image - ImageFormat.
width
Width in pixels of the image.
height
Height in pixels of the image.
dpi
The resolution of the image in dots per inch.
Contructor taking format, width, height and Dpi.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal imageFormat As ImageFormat, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal dpi As Integer _
)
Visual Basic (Usage)Copy Code
Dim imageFormat As ImageFormat
Dim width As Integer
Dim height As Integer
Dim dpi As Integer
 
Dim instance As New ImageDescriptor(imageFormat, width, height, dpi)
C# 
public ImageDescriptor( 
   ImageFormat imageFormat,
   int width,
   int height,
   int dpi
)

Parameters

imageFormat
The format of the image - ImageFormat.
width
Width in pixels of the image.
height
Height in pixels of the image.
dpi
The resolution of the image in dots per inch.

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.