CodeCarvings.Piczard
GetImageResolution Method
See Also  Send Feedback
CodeCarvings.Piczard.Helpers Namespace > ImageHelper Class : GetImageResolution Method

image
The image of which to get the resolution.
Gets the resolution, in pixels per inch, of the Image.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetImageResolution( _
   ByVal image As Image _
) As Single
C#  
public static float GetImageResolution( 
   Image image
)

Parameters

image
The image of which to get the resolution.

Return Value

The resolution, in pixels per inch, of the Image.

Remarks

Only the VerticalResolution of the Image is taken into consideration, not the HorizontalResolution.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.