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

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 values are expressed in pixels; the specified color is used to fill the eventual canvas area.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal canvasColor As BackgroundColor _
)
C#  
public FixedResizeConstraint( 
   int width,
   int height,
   BackgroundColor canvasColor
)

Parameters

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.