Platforms to show: All Mac Windows Linux Cross-Platform

NSImageViewMBS.allowsCutCopyPaste as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the receiver allows the user to cut, copy and paste the image contents.
Notes:
True if the user can cut, copy, and paste the image contents; otherwise, false to prevent the use of pasteboard operations.
(Read and Write computed property)

Feedback, Comments & Corrections

NSImageViewMBS.animates as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A Boolean value indicating whether the receiver automatically plays animated images.
Notes:
True if the receiver automatically plays animated images; otherwise, false. The default value is true for NSImageView objects you create programmatically. For NSImageView objects loaded from a nib file, the control takes the value set in Interface Builder.

The timing and looping characteristics of the animation are taken from the image data. If this method returns false, the receiver displays the first frame of the animation only.
(Read and Write computed property)

Feedback, Comments & Corrections

NSImageViewMBS.Constructor
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Creates a new imageview with size 100/100 and position 0/0
Example:
dim t as new NSImageViewMBS
Notes: On success the handle property is not zero.

See also:

Feedback, Comments & Corrections

NSImageViewMBS.Constructor(Handle as Integer)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Creates an object based on the given NSImageView handle.
Example:
dim t as new NSImageViewMBS(0, 0, 100, 100)
dim v as new NSImageViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)
Notes: The handle is casted to a NSImageView and the plugin retains this handle.

See also:

Feedback, Comments & Corrections

NSImageViewMBS.Constructor(left as Double, top as Double, width as Double, height as Double)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Creates a new image view with the given size and position.
Example:
dim x as new NSImageViewMBS(0, 0, 100, 100)
Notes: On success the handle property is not zero.

See also:

Feedback, Comments & Corrections

NSImageViewMBS.image as NSImageMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Returns the NSImage object displayed by the receiver.
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

NSImageViewMBS.imageAlignment as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The alignment of the receiver's image relative to its frame.
Notes:
For a list of possible values, see NSImageAlign* constants. The default value is NSImageAlignCenter.
(Read and Write computed property)

Feedback, Comments & Corrections

NSImageViewMBS.imageFrameStyle as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The style of the frame that borders the image.
Example:
ImageWell1.NSImageViewMBS.imageFrameStyle = NSImageViewMBS.NSImageFramePhoto
Notes:
Value is one of the frame style constants. For a list of frame styles, see NSImageFrame* constants.
(Read and Write computed property)

Feedback, Comments & Corrections

NSImageViewMBS.imageScaling as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The scaling mode used to fit the receiver's image into the frame.
Example:
ImageWell1.NSImageViewMBS.imageScaling = NSImageViewMBS.NSScaleNone
Notes:
Value is one of the image scaling constants. For a list of possible values, see NSScale* constants.
(Read and Write computed property)

Feedback, Comments & Corrections

NSImageViewMBS.isEditable as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the user can drag a new image into the frame.
Notes:
True if the user can drag an image into the receiver's frame; otherwise, false.
(Read and Write computed property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins

Start Chat