CodeCarvings.Piczard
FreeCropConstraint Constructor(Generic Nullable,Generic Nullable,Generic Nullable,Generic Nullable)
See Also  Send Feedback
CodeCarvings.Piczard Namespace > FreeCropConstraint Class > FreeCropConstraint Constructor : FreeCropConstraint Constructor(Generic Nullable,Generic Nullable,Generic Nullable,Generic Nullable)

minWidth
The minimum  width of the crop area. If the value is null then no limit is set.
maxWidth
The maximum width of the crop area. If the value is null then no limit is set.
minHeight
The minimum height of the crop area. If the value is null then no limit is set.
maxHeight
The maximum height of the crop area. If the value is null then no limit is set.
Initializes a new instance of the FreeCropConstraint class and sets the limits (min-max width and height - expressed in pixels).

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal minWidth As Nullable(Of Integer), _
   ByVal maxWidth As Nullable(Of Integer), _
   ByVal minHeight As Nullable(Of Integer), _
   ByVal maxHeight As Nullable(Of Integer) _
)
C#  
public FreeCropConstraint( 
   Nullable<int> minWidth,
   Nullable<int> maxWidth,
   Nullable<int> minHeight,
   Nullable<int> maxHeight
)

Parameters

minWidth
The minimum  width of the crop area. If the value is null then no limit is set.
maxWidth
The maximum width of the crop area. If the value is null then no limit is set.
minHeight
The minimum height of the crop area. If the value is null then no limit is set.
maxHeight
The maximum height of the crop area. If the value is null then no limit is set.

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.