Platforms to show: All Mac Windows Linux Cross-Platform

Back to IKImageViewMBS class.

IKImageViewMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new box view with size 100/100 and position 0/0
Example
dim x as new IKImageViewMBS

On success the handle property is not zero.

See also:

IKImageViewMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an object based on the given NSView handle.
Example
dim t as new IKImageViewMBS(0, 0, 100, 100)
dim v as new IKImageViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)

The handle is casted to a IKImageView and the plugin retains this handle.

See also:

IKImageViewMBS.Constructor(left as double, top as double, width as double, height as double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new control with the given size and position.
Example
dim left,top,width,height as Integer
// define rectangle
dim x as new IKImageViewMBS(left, top, width, height)

On success the handle property is not zero.

See also:

IKImageViewMBS.convertImagePointToViewPoint(imagePoint as NSPointMBS) as NSPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Converts an image coordinate to an image view coordinate.

imagePoint: A point specified in coordinates relative to the image.

Returns a point specified in coordinates relative to the image view.

IKImageViewMBS.convertImageRectToViewRect(ImageRect as NSRectMBS) as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Converts an image rectangle to an image view rectangle.

ImageRect: An rectangle specified in coordinates relative to the image.

Returns an rectangle specified in coordinates relative to the image view.

IKImageViewMBS.convertViewPointToImagePoint(viewPoint as NSPointMBS) as NSPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Converts an image view coordinate to an image coordinate.

viewPoint: A point specified in coordinates relative to the image view.

Returns the point specified in coordinates relative to the image.

IKImageViewMBS.convertViewRectToImageRect(viewRect as NSRectMBS) as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Converts an image view rectangle to an image rectangle.

viewRect: An rectangle specified in coordinates relative to the image view.

The rectangle specified in coordinates relative to the image.

IKImageViewMBS.crop

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Crops the image using the current selection.

IKImageViewMBS.flipImageHorizontal

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Flips an image along the horizontal axis.

IKImageViewMBS.flipImageVertical

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Flips an image along the vertical axis.

IKImageViewMBS.Overlay(layerType as string) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Get or set the overlay layer.

The Core Animation layer associated with a layer type.
Value is a CALayerMBS object.
(Read and Write computed property)

IKImageViewMBS.rotateImageLeft

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Rotates the image left (counter-clockwise).

IKImageViewMBS.rotateImageRight

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Rotates the image right (clockwise).

IKImageViewMBS.scrollToPoint(point as NSPointMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Scrolls the view to the specified point.

point: The point to scroll to.

IKImageViewMBS.scrollToRect(rect as NSRectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Scrolls the view so that it includes the provided rectangular area.

Rect: The rectangular area to include in the view.

IKImageViewMBS.SetImage(image as CGImageMBS, metaData as Dictionary = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the image to display in an image view.

image: The image to set.
metaData: A dictionary that contains metadata that describes the image.

IKImageViewMBS.SetImageFile(File as FolderItem)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Initializes an image view with the image specified by a folderitem.

File: The file that specifies the location of the image.

This method is the preferred initializer for RAW images. If you use this method for a TIFF file that contains multiple images, only the first image is displayed.

IKImageViewMBS.SetImageURL(URL as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Initializes an image view with the image specified by a URL.

url: The URL that specifies the location of the image.

This method is the preferred initializer for RAW images. If you use this method for a TIFF file that contains multiple images, only the first image is displayed.

IKImageViewMBS.setImageZoomFactor(zoomFactor as Double, centerPoint as NSPointMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the zoom factor at the provided origin.

zoomFactor: The zoom factor to apply to the image.
centerPoint: The point that specifies the origin of the zoom factor.

IKImageViewMBS.SetPicture(picture as Picture, metaData as Dictionary = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the picture to display in an image view.

picture: The picture to set.
metaData: A dictionary that contains metadata that describes the image.

IKImageViewMBS.setRotationAngle(rotationAngle as Double, centerPoint as NSPointMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the rotation angle at the provided origin.

rotationAngle: The rotation angle to apply to the image.
centerPoint: The point that specifies the origin of the rotation angle.

IKImageViewMBS.zoomImageToActualSize

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Zooms the image so that it is displayed using its true size.

IKImageViewMBS.zoomImageToFit

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Zooms the image so that it fits in the image view.

IKImageViewMBS.zoomImageToRect(rect as NSRectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Zooms the image so that it fits in the specified rectangle.

rect: The rectangle to fit the image in.

IKImageViewMBS.zoomIn

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Zooms the image in.

IKImageViewMBS.zoomOut

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Zooms the image out.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...