Optionaloptions: PageToolsPluginOptionsRotate image.
Angle to rotate an image.
Crop image.
Leftmost point of a new image rectangle
Topmost point of a new image rectangle
Width a new image rectangle
Height a new image rectangle
Whether transformation was applied successfully or not.
Resize image.
New image width.
New image height
Explicitly defines a need of keeping an original image aspect ratio. Defaults to true.
Flip image.
Flip horizontally. True by default.
Whether transformation was applied successfully or not.
Flip image horizontally.
Whether transformation was applied successfully or not.
Flip image vertically.
Whether transformation was applied successfully or not.
Determines whether the specified image format is supported for modifications.
The image format to check, either as an enum value or string.
OptionalallowUnknown: booleanIf true, allows unknown formats (ImageFormatCode.Default) to be considered supported.
True if the format is supported for modifications, false otherwise.
Cleans up resources and disposes the plugin.
Removes and disposes the active paint layer. If no paint layer exists, this method does nothing.
The method is called when the GcImageViewer component is initialized.
Gets the image viewer instance. The image viewer instance.
Plugin options
Gets current rotation in degrees.
Gets the paint layer containing the HTML canvas for drawing the image.
Returns true if the image is loaded into the viewer and the image format is supported by the Image Filters plugin.
Natural image size.
Unique plug-in identifier.
Page Tools Plugin. Adds the "Page tools" button.
Example