Mac Guides | Samples

MonoMac.CoreText.CTFont.Dispose Method

Releases the resourced used by the CTFont object.


public Void Dispose ()


The Dispose method releases the resources used by the CTFont class.

Calling the Dispose method when you are finished using the CTFont ensures that all external resources used by this managed object are released as soon as possible. Once you have invoked the Dispose method, the object is no longer useful and you should no longer make any calls to it. For more information on releasing resources see ``Cleaning up Unmananaged Resources'' at


Namespace: MonoMac.CoreText
Assembly: XamMac (in XamMac.dll)
Assembly Versions: