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

sourceImageSize
The Size of the source image expressed in pixels.
Validates the current ImageTransformation filter to ensure that all the parameters are correctly configured (e.g. the image Size - after the ImageTransformation parameters are applied - is not higher than CoreSettings.Drawing.MaxImageSize); the provided source image Size is used to validate the Transformation parameters.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Validate( _
   ByVal sourceImageSize As Size _
) As Boolean
C#  
public bool Validate( 
   Size sourceImageSize
)

Parameters

sourceImageSize
The Size of the source image expressed in pixels.

Return Value

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

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.