Visual Basic (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 _ ) |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public ApplyTransformationParametersCommand( int xTranslation, int yTranslation, int angle, int xScale, int yScale, ApplyTransformationParametersCommandFlags flags ) |
Managed Extensions for C++ | |
---|---|
public: ApplyTransformationParametersCommand( int xTranslation, int yTranslation, int angle, int xScale, int yScale, ApplyTransformationParametersCommandFlags flags ) |
C++/CLI | |
---|---|
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 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 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 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 GetTransformationParameters. This parameter only accepts 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 GetTransformationParameters. This parameter only accepts positive values.
- flags
- Flag that specifies the behavior when resizing the image.
Refer to GetTransformationParameters
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family