CodeCarvings.Piczard
Calculate(GfxUnit,RectangleF,Single) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageCrop Class > Calculate Method : Calculate(GfxUnit,RectangleF,Single) Method

unit
The graphics unit in which the rectangle is expressed.
rectangle
The crop rectangle to convert.
resolution
The resolution (DPI) used during the conversion to pixel of the rectangle.
Initializes a new instance of the ImageCrop class by converting a rectangle expressed in any GfxUnit; the specified resolution (DPI) is used to convert the measurement.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function Calculate( _
   ByVal unit As GfxUnit, _
   ByVal rectangle As RectangleF, _
   ByVal resolution As Single _
) As ImageCrop
C#  
public static ImageCrop Calculate( 
   GfxUnit unit,
   RectangleF rectangle,
   float resolution
)

Parameters

unit
The graphics unit in which the rectangle is expressed.
rectangle
The crop rectangle to convert.
resolution
The resolution (DPI) used during the conversion to pixel of the rectangle.

Return Value

The instance of the ImageCrop class.

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.