CodeCarvings.Piczard
ChangeUnit Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > CropConstraint Class : ChangeUnit Method

newUnit
The new GfxUnit to use.
outputResolution
The image resolution (DPI).
Changes the Unit and automatically recalculate the values to maintain unchanged the constraint.

Syntax

Visual Basic (Declaration)  
Public Sub ChangeUnit( _
   ByVal newUnit As GfxUnit, _
   ByVal outputResolution As Single _
) 
C#  
public void ChangeUnit( 
   GfxUnit newUnit,
   float outputResolution
)

Parameters

newUnit
The new GfxUnit to use.
outputResolution
The image resolution (DPI).

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.