Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / FileRotate

FileRotate method

Performs a free rotation on the specified image file.


Boolean FileRotate(strFile As String, nDegrees As Number (floating point), nBackgroundColor As Number, bWebFilter As Boolean, strSaveAs As String, nFormat As Format)

Return value

Returns true if the function succeeded.


strFileStringYesString containing the path of the file.
nDegreesNumber (floating point)YesSpecifies the number of the degrees to rotate. Can be any value between -360.0 and 360.0.
nBackgroundColorNumberNoOptional parameter which specifies the background color.
bWebFilterBooleanNoOptional parameter which enables or disables the internet filter. If this parameter is true only web formats are accepted (GIF, JPEG, PNG).
strSaveAsStringNoOptional string containing the output file.
nFormatFormat (Enumeration)NoOptional parameter which specifies the desired file format.


File operations

See also

FileConvert | FileCrop | FileExpand | FileFlipHorizontal | FileFlipVertical | FileResize | FileRotateLeft | FileRotateRight | FileShrink | FileThumbnail