CodeCarvings.Piczard
Validate Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageSelection Class : Validate Method

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

Overload List

Overload Description
Validate(Size,Boolean) Validates the current ImageSelection filter to ensure that all the parameters are correctly configured (e.g. the Crop.Rectangle.Width is not higher than CoreSettings.Drawing.MaxImageSize.Width); the provided source image Size is used to validate the Transformation parameters; if the "throwException" parameter is true then an Exception is thrown if the ImageSelection is not valid.  
Validate(Size) Validates the current ImageSelection filter to ensure that all the parameters are correctly configured (e.g. the Crop.Rectangle.Width is not higher than CoreSettings.Drawing.MaxImageSize.Width); the provided source image Size is used to validate the Transformation parameters.  
Validate(Boolean) Validates the current ImageSelection filter to ensure that all the parameters are correctly configured (e.g. the Crop.Rectangle.Width is not higher than CoreSettings.Drawing.MaxImageSize.Width); if the "throwException" parameter is true then an Exception is thrown if the ImageSelection is not valid.  
Validate() Validates the current ImageSelection filter to ensure that all the parameters are correctly configured (e.g. the Crop.Rectangle.Width is not higher than CoreSettings.Drawing.MaxImageSize.Width).  

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.