CodeCarvings.Piczard
ScaledResizeConstraint Constructor(GfxUnit,Single,Single)
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ScaledResizeConstraint Class > ScaledResizeConstraint Constructor : ScaledResizeConstraint Constructor(GfxUnit,Single,Single)

unit
The graphics unit in which the maximum image size is expressed.
maxWidth
The width of the rectangle in which the image must stay.
maxHeight
The height of the rectangle in which the image must stay.
Initializes a new instance of the ScaledResizeConstraint class.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal unit As GfxUnit, _
   ByVal maxWidth As Single, _
   ByVal maxHeight As Single _
)
C#  
public ScaledResizeConstraint( 
   GfxUnit unit,
   float maxWidth,
   float maxHeight
)

Parameters

unit
The graphics unit in which the maximum image size is expressed.
maxWidth
The width of the rectangle in which the image must stay.
maxHeight
The height of the rectangle in which the image must stay.

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.