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

outputResolution
The resolution (DPI) of the output image.
Validates the current CropConstraint filter to ensure that all the parameters are correctly configured (e.g. the CropMargins.Horizontal value is not higher than CoreSettings.Drawing.MaxImageSize.Width); the specified output resolution (DPI) is used to validate the image.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Validate( _
   ByVal outputResolution As Single _
) As Boolean
C#  
public bool Validate( 
   float outputResolution
)

Parameters

outputResolution
The resolution (DPI) of the output image.

Return Value

true if the CropConstraint 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.