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

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

Syntax

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

Parameters

unit
The graphics unit in which the rectangle is expressed.
rectangle
The crop rectangle to convert.

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.