←Select platform

ApplyTransformationParametersCommand Constructor(int,int,int,int,int,ApplyTransformationParametersCommandFlags)

Summary

Initializes a new ApplyTransformationParametersCommand class object with explicit parameters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
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 Leadtools.Imageprocessing.Core.ApplyTransformationParametersCommandFlags _ 
) 
public ApplyTransformationParametersCommand(  
   int xTranslation, 
   int yTranslation, 
   int angle, 
   int xScale, 
   int yScale, 
   Leadtools.Imageprocessing.Core.ApplyTransformationParametersCommandFlags flags 
) 
- (instancetype)initWithXTranslation:(NSInteger)xTranslation 
                        yTranslation:(NSInteger)yTranslation 
                               angle:(NSInteger)angle 
                              xScale:(NSUInteger)xScale 
                              yScale:(NSUInteger)yScale 
                               flags:(LTApplyTransformationParametersCommandFlags)flags 
             
public ApplyTransformationParametersCommand( 
   int xTranslation,  
   int yTranslation,  
   int angle,  
   int xScale,  
   int yScale,  
   int flags 
) 
             
function ApplyTransformationParametersCommand(  
   xTranslation , 
   yTranslation , 
   angle , 
   xScale , 
   yScale , 
   flags  
) 
public: 
ApplyTransformationParametersCommand(  
   int xTranslation, 
   int yTranslation, 
   int angle, 
   int xScale, 
   int yScale, 
   Leadtools.Imageprocessing.Core.ApplyTransformationParametersCommandFlags flags 
) 

Parameters

xTranslation
The amount of image translation along the x-axis (Width). This value is divided internally by 100. This value must be equal to the one returned from GetTransformationParameters.

yTranslation
The amount of image translation (in pixels) along the y-axis (Height). This value is divided internally by 100. This value must be equal to the one returned from GetTransformationParameters.

angle
Angle of rotation, in hundredths of degrees (+/-). This can be a number from 1 to 36,000. This value is divided internally 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 GetTransformationParameters.

xScale
The amount of image x-axis (Width) scaling. This is a percentage value (divided internally by 100). This value must be equal to the one returned from GetTransformationParameters. This parameter accepts only positive values.

yScale
The amount of image y-axis (Height) scaling. This is a percentage value (divided internally by 100). This value must be equal to the one returned from GetTransformationParameters. This parameter accepts only positive values.

flags
Flag that specifies the behavior when resizing the image.

Example

Refer to GetTransformationParameters

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly