MonobjcMonobjc Documented Class Library
LockFocusOnRepresentation Method (imageRepresentation)
NamespacesMonobjc.AppKitNSImageLockFocusOnRepresentation(NSImageRep)

Prepares the specified image representation to receive drawing commands. (Deprecated in Mac OS X v10.6. Use the code fragment shown in the special considerations below.)

Original signature is '- (void)lockFocusOnRepresentation:(NSImageRep *)imageRepresentation'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6. Use the code fragment shown in the special considerations below.")]
public virtual void LockFocusOnRepresentation(
	NSImageRep imageRepresentation
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.6. Use the code fragment shown in the special considerations below.")> _
Public Overridable Sub LockFocusOnRepresentation ( _
	imageRepresentation As NSImageRep _
)
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6. Use the code fragment shown in the special considerations below.")]
public:
virtual void LockFocusOnRepresentation(
	NSImageRep^ imageRepresentation
)
Parameters
imageRepresentation (NSImageRep)
An image representation belonging to the receiver, or nil if you want the receiver to choose which image representation to use.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)