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.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public delegate void ImageWillLoadRepresentationEventHandler( NSImage image, NSImageRep rep )
Public Delegate Sub ImageWillLoadRepresentationEventHandler ( _ image As NSImage, _ rep As NSImageRep _ )
public delegate void ImageWillLoadRepresentationEventHandler( NSImage^ image, NSImageRep^ rep )
![](../icons/collapse_all.gif)
- image (NSImage)
- The image object whose contents need to be loaded.
- rep (NSImageRep)
- The image representation object that was accessed.
![](../icons/collapse_all.gif)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)