Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSImageViewMBS class.

NSImageViewMBS.addSymbolEffect(symbolEffect as NSSymbolEffectMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds a symbol effect to the image view with default options and animation.
Example
Var n As NSImageMBS = NSImageMBS.imageWithSystemSymbolName("globe")

Var iv As NSImageViewMBS = ImageViewer1.NSImageViewMBS
iv.Image = n
iv.addSymbolEffect NSSymbolVariableColorEffectMBS.effect.effectWithReversing

See also:

NSImageViewMBS.addSymbolEffect(symbolEffect as NSSymbolEffectMBS, options as NSSymbolEffectOptionsMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds a symbol effect to the image view with specified options and default animation.

See also:

NSImageViewMBS.addSymbolEffect(symbolEffect as NSSymbolEffectMBS, options as NSSymbolEffectOptionsMBS, animated as boolean)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Adds a symbol effect to the image view with specified options and animation.

See also:

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
Creates a new imageview with size 100/100 and position 0/0
Example
Var t as new NSImageViewMBS

On success the handle property is not zero.

See also:

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
Creates an object based on the given NSImageView handle.
Example
Var t as new NSImageViewMBS(0, 0, 100, 100)
Var v as new NSImageViewMBS(t.handle)

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

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

See also:

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
Creates a new image view with the given size and position.
Example
Var x as new NSImageViewMBS(0, 0, 100, 100)

On success the handle property is not zero.

See also:

NSImageViewMBS.removeAllSymbolEffects   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Removes all symbol effects from the image view with default options and animation.

See also:

NSImageViewMBS.removeAllSymbolEffects(options as NSSymbolEffectOptionsMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Removes all symbol effects from the image view with specified options and default animation.

See also:

NSImageViewMBS.removeAllSymbolEffects(options as NSSymbolEffectOptionsMBS, animated as boolean)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Removes all symbol effects from the image view with specified options and animation.

See also:

NSImageViewMBS.removeSymbolEffectOfType(symbolEffect as NSSymbolEffectMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Removes from the image view the symbol effect matching the type of effect passed in, with default options and animation.

See also:

NSImageViewMBS.removeSymbolEffectOfType(symbolEffect as NSSymbolEffectMBS, options as NSSymbolEffectOptionsMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Removes from the image view the symbol effect matching the type of effect passed in, with specified options and default animation.

See also:

NSImageViewMBS.removeSymbolEffectOfType(symbolEffect as NSSymbolEffectMBS, options as NSSymbolEffectOptionsMBS, animated as boolean)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Removes from the image view the symbol effect matching the type of effect passed in, with specified options and animation.

See also:

NSImageViewMBS.setSymbolImage(image as NSImageMBS, transition as NSSymbolContentTransitionMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the symbol image on the image view with a symbol content transition and default options.

Passing in a non-symbol image will result in undefined behavior.

See also:

NSImageViewMBS.setSymbolImage(image as NSImageMBS, transition as NSSymbolContentTransitionMBS, options as NSSymbolEffectOptionsMBS)   New in 25.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 25.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the symbol image on the image view with a symbol content transition and specified options.

Passing in a non-symbol image will result in undefined behavior.

See also:

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


The biggest plugin in space...