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

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; the default value is used for the Unit property (Pixel).

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal maxWidth As Integer, _
   ByVal maxHeight As Integer _
)
C#  
public ScaledResizeConstraint( 
   int maxWidth,
   int maxHeight
)

Parameters

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.