This method is part of Image Tools project
Motivation
Allows you to rotate images at an 90 angle. Ideal for puts Barcodes on reports. (To work with PDF you can use the GXOpen PDF Tools, for example to use this image like as watermark).
Syntax
Rotate( ImageSourcePath, ImageTargetPath, TargetHeight)
where:
ImageSourcePath
Is the original image path (full or relative).
ImageTargetPath
Is the image returned path. (can be the source path)
Example
ImageTools.Rotate("codebar.png","codebarRotated.png") // or use the full path
Output