For incremental loading, this method is invoked when you first attempt to draw the image or otherwise access the bitmap data.
Original signature is '- (void)image:(NSImage *)image willLoadRepresentation:(NSImageRep *)rep'
Available in Mac OS X v10.2 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void ImageWillLoadRepresentation( NSImage image, NSImageRep rep )
Sub ImageWillLoadRepresentation ( _ image As NSImage, _ rep As NSImageRep _ )
void ImageWillLoadRepresentation( NSImage^ image, NSImageRep^ rep )
Parameters
- image (NSImage)
- The image object whose contents need to be loaded.
- rep (NSImageRep)
- The image representation object that was accessed.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)