Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

NSImageRepMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Drawing MBS MacBase Plugin 7.2 Yes No No Yes, macOS only No
Function: The NSImageRep class is a semiabstract superclass ("semi" because it has some instance variables and implementation of its own).
Each of its subclasses knows how to draw an image from a particular kind of source data. While an NSImageRep subclass can be used directly, it is typically through an NSImage object. An NSImage object manages a group of image representations, choosing the best one for the current output device.

Subclasses are not implemented in the plugin currently.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Sub classes:

Some methods using this class:

Some examples which use this class:

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

NSImageMBS   -   NSImageViewMBS

The biggest plugin in space...

MBS FileMaker Plugins