LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

ApplyTransformationParametersCommand Constructor(Int32,Int32,Int32,Int32,Int32,ApplyTransformationParametersCommandFlags)






The amount of image translation along the x-axis (Width). This value is internally divided by 100. This value must be equal to the one returned from CoreUtilities.GetTransformationParameters.
The amount of image translation (in pixels) along the y-axis (Height). This value is internally divided by 100. This value must be equal to the one returned from CoreUtilities.GetTransformationParameters.
Angle of rotation, in hundredths of degrees (+/-). This can be a number from 1 to 36,000. This value is internally divided by 100. A positive value means the image rotated in a clockwise rotation, while a negative value means the image rotated in a counter-clockwise rotation. This value must be equal to the one returned from CoreUtilities.GetTransformationParameters.
The amount of image x-axis (Width) scaling. This is a percentage value (internally divided by 100). This value must be equal to the one returned from CoreUtilities.GetTransformationParameters. This parameter accepts only positive values.
The amount of image y-axis (Height) scaling. This is a percentage value (internally divided by 100). This value must be equal to the one returned from CoreUtilities.GetTransformationParameters. This parameter accepts only positive values.
Flag that specifies the behavior when resizing the image.
Initializes a new ApplyTransformationParametersCommand class object with explicit parameters. .NET support WinRT support Silverlight support
Syntax
public ApplyTransformationParametersCommand( 
   int xTranslation,
   int yTranslation,
   int angle,
   int xScale,
   int yScale,
   ApplyTransformationParametersCommandFlags flags
)
'Declaration
 
Public Function New( _
   ByVal xTranslation As Integer, _
   ByVal yTranslation As Integer, _
   ByVal angle As Integer, _
   ByVal xScale As Integer, _
   ByVal yScale As Integer, _
   ByVal flags As ApplyTransformationParametersCommandFlags _
)
'Usage
 
Dim xTranslation As Integer
Dim yTranslation As Integer
Dim angle As Integer
Dim xScale As Integer
Dim yScale As Integer
Dim flags As ApplyTransformationParametersCommandFlags
 
Dim instance As New ApplyTransformationParametersCommand(xTranslation, yTranslation, angle, xScale, yScale, flags)
public ApplyTransformationParametersCommand( 
   int xTranslation,
   int yTranslation,
   int angle,
   int xScale,
   int yScale,
   ApplyTransformationParametersCommandFlags flags
)
function ApplyTransformationParametersCommand( 
   xTranslation ,
   yTranslation ,
   angle ,
   xScale ,
   yScale ,
   flags 
)
public:
ApplyTransformationParametersCommand( 
   int xTranslation,
   int yTranslation,
   int angle,
   int xScale,
   int yScale,
   ApplyTransformationParametersCommandFlags flags
)

Parameters

xTranslation
The amount of image translation along the x-axis (Width). This value is internally divided by 100. This value must be equal to the one returned from CoreUtilities.GetTransformationParameters.
yTranslation
The amount of image translation (in pixels) along the y-axis (Height). This value is internally divided by 100. This value must be equal to the one returned from CoreUtilities.GetTransformationParameters.
angle
Angle of rotation, in hundredths of degrees (+/-). This can be a number from 1 to 36,000. This value is internally divided by 100. A positive value means the image rotated in a clockwise rotation, while a negative value means the image rotated in a counter-clockwise rotation. This value must be equal to the one returned from CoreUtilities.GetTransformationParameters.
xScale
The amount of image x-axis (Width) scaling. This is a percentage value (internally divided by 100). This value must be equal to the one returned from CoreUtilities.GetTransformationParameters. This parameter accepts only positive values.
yScale
The amount of image y-axis (Height) scaling. This is a percentage value (internally divided by 100). This value must be equal to the one returned from CoreUtilities.GetTransformationParameters. This parameter accepts only positive values.
flags
Flag that specifies the behavior when resizing the image.
Example
Refer to GetTransformationParameters
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ApplyTransformationParametersCommand Class
ApplyTransformationParametersCommand Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.