Platforms to show: All Mac Windows Linux Cross-Platform
IKImageViewMBS class Deprecated
Super class: NSViewMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | ImageKit | MBS AVFoundation Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The IKImageViewMBS class provides an efficient way to display images in a view while at the same time supporting a number of image editing operations such as rotating, zooming, and cropping. It supports drag and drop for the NSFilenamesPboardType flavor so that the user can drag an image to the view. If possible, image rendering uses hardware acceleration to achieve optimal performance. The IKImageViewMBS class is implemented as a subclass of NSView. Similar to NSImageViewMBS, the IKImageViewMBS class is used to display a single image.
Subclass of the NSViewMBS class.
- 18 properties
- property autohidesScrollers as Boolean
- property autoresizes as Boolean
- property backgroundColor as NSColorMBS
- property currentToolMode as String
- property doubleClickOpensImageEditPanel as Boolean
- property editable as Boolean
- property hasHorizontalScroller as Boolean
- property hasVerticalScroller as Boolean
- property Image as CGImageMBS
- property imageCorrection as Variant
- property imageHeight as Integer
- property imageProperties as Dictionary
- property imageWidth as Integer
- property Picture as Picture
- property rotationAngle as Double
- property supportsDragAndDrop as Boolean
- property zoomFactor as Double
- property Overlay(layerType as string) as Variant
- 25 methods
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- method convertImagePointToViewPoint(imagePoint as NSPointMBS) as NSPointMBS
- method convertImageRectToViewRect(ImageRect as NSRectMBS) as NSRectMBS
- method convertViewPointToImagePoint(viewPoint as NSPointMBS) as NSPointMBS
- method convertViewRectToImageRect(viewRect as NSRectMBS) as NSRectMBS
- method crop
- method flipImageHorizontal
- method flipImageVertical
- method rotateImageLeft
- method rotateImageRight
- method scrollToPoint(point as NSPointMBS)
- method scrollToRect(rect as NSRectMBS)
- method SetImage(image as CGImageMBS, metaData as Dictionary = nil)
- method SetImageFile(File as FolderItem)
- method SetImageURL(URL as String)
- method setImageZoomFactor(zoomFactor as Double, centerPoint as NSPointMBS)
- method SetPicture(picture as Picture, metaData as Dictionary = nil)
- method setRotationAngle(rotationAngle as Double, centerPoint as NSPointMBS)
- method zoomImageToActualSize
- method zoomImageToFit
- method zoomImageToRect(rect as NSRectMBS)
- method zoomIn
- method zoomOut
- 11 shared methods
- shared method IKOverlayTypeBackground as String
- shared method IKOverlayTypeImage as String
- shared method IKToolModeAnnotate as String
- shared method IKToolModeCrop as String
- shared method IKToolModeMove as String
- shared method IKToolModeNone as String
- shared method IKToolModeRotate as String
- shared method IKToolModeSelect as String
- shared method IKToolModeSelectEllipse as String
- shared method IKToolModeSelectLasso as String
- shared method IKToolModeSelectRect as String
Super class NSViewMBS
Super class NSResponderMBS
This class has no sub classes.
Blog Entries
Release notes
- Version 26.4
- Deprecated IKImageViewControlMBS and IKImageViewMBS due to bugs in the frameworks.
Some properties using for this class:
- DesktopIKImageViewControlMBS.View as IKImageViewMBS
- IKImageViewControlMBS.View as IKImageViewMBS
Some examples using this class:
Some related classes:
- class CGImageMBS
- class NSColorMBS
- class NSImageViewMBS
- class NSPointMBS
- class NSRectMBS
- class NSResponderMBS
- class NSViewMBS
The items on this page are in the following plugins: MBS AVFoundation Plugin.
IKImageEditPanelMBS - IKPictureTakerMBS