ESRI.ArcGIS.ADF.IMS
CalculateDpi Method
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : CalculateDpi Method




height
Image height.
width
Image width.
printHeight
Image print height.
printWidth
Image print width.
Calculate the Dpi of the image. Not currently implemented.

Syntax

Visual Basic (Declaration) 
Public Shared Function CalculateDpi( _
   ByVal height As Integer, _
   ByVal width As Integer, _
   ByVal printHeight As Integer, _
   ByVal printWidth As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim height As Integer
Dim width As Integer
Dim printHeight As Integer
Dim printWidth As Integer
Dim value As Integer
 
value = ImageDescriptor.CalculateDpi(height, width, printHeight, printWidth)
C# 
public static int CalculateDpi( 
   int height,
   int width,
   int printHeight,
   int printWidth
)

Parameters

height
Image height.
width
Image width.
printHeight
Image print height.
printWidth
Image print width.

Return Value

Dpi.

Remarks

This function is not yet implemented. It will throw an exception if used.

See Also

© 2010 All Rights Reserved.