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

unit
The graphics unit in which the maximum image size is expressed.
maxSize
The size 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 maxSize As SizeF _
)
C#  
public ScaledResizeConstraint( 
   GfxUnit unit,
   SizeF maxSize
)

Parameters

unit
The graphics unit in which the maximum image size is expressed.
maxSize
The size 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.