GetResizedValue(Int32,Boolean) Method
CodeCarvings.Piczard
GetResizedValue(Int32,Boolean) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageTransformation Class > GetResizedValue Method : GetResizedValue(Int32,Boolean) Method

value
The value to recalculate.
backward
If true then ResizeFactor is applied backwards (e.g. if ResizeFactor is 50, then original value is multiplied by 2).
Applies the current ResizeFactor to the specified value.

Syntax

Visual Basic (Declaration)  
Public Overloads Function GetResizedValue( _
   ByVal value As Integer, _
   ByVal backward As Boolean _
) As Integer
C#  
public int GetResizedValue( 
   int value,
   bool backward
)

Parameters

value
The value to recalculate.
backward
If true then ResizeFactor is applied backwards (e.g. if ResizeFactor is 50, then original value is multiplied by 2).

Return Value

The recalculated value.

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.