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

imageSize
The Size of the source image to process.
outputResolution
The resolution (DPI) of the output image.
Gets an ImageSelection filter that can be used to process the image according to size constraints configured in the current CropConstraint filter; the specified source image Size and output resolution (DPI) are used to calculate the parameters of the ImageSelection object.

Syntax

Visual Basic (Declaration)  
Public Overloads Function GetImageSelection( _
   ByVal imageSize As Size, _
   ByVal outputResolution As Single _
) As ImageSelection
C#  
public ImageSelection GetImageSelection( 
   Size imageSize,
   float outputResolution
)

Parameters

imageSize
The Size of the source image to process.
outputResolution
The resolution (DPI) of the output image.

Return Value

An ImageSelection filter that can be used to process the image.

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.