CodeCarvings.Piczard
Validate() Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageCrop Class > Validate Method : Validate() Method

Validates the current ImageCrop filter to ensure that all the parameters are correctly configured (e.g. the Rectangle.Width is not higher than CoreSettings.Drawing.MaxImageSize.Width).

Syntax

Visual Basic (Declaration)  
Public Overloads Function Validate() As Boolean
C#  
public bool Validate()

Return Value

true if the ImageCrop filter is valid; otherwise, false.

Remarks

The Validate method always returns false if the Rectangle property is null.

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.