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

unit
The graphics unit in which the output Size is expressed.
width
The width of the output Size.
height
The height of the output Size.
canvasColor
The color used to fill the eventual canvas area.
Initializes a new instance of the FixedResizeConstraint class; the specified color is used to fill the eventual canvas area.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal unit As GfxUnit, _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal canvasColor As BackgroundColor _
)
C#  
public FixedResizeConstraint( 
   GfxUnit unit,
   float width,
   float height,
   BackgroundColor canvasColor
)

Parameters

unit
The graphics unit in which the output Size is expressed.
width
The width of the output Size.
height
The height of the output Size.
canvasColor
The color used to fill the eventual canvas area.

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.