MonobjcMonobjc Documented Class Library
LockFocus Method

Locks the focus on the receiver, so subsequent commands take effect in the receiver’s window and coordinate system.

Original signature is '- (void)lockFocus'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void LockFocus()
Public Overridable Sub LockFocus
virtual void LockFocus()
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)