Mac Guides | Samples

MonoMac.CoreText.CTFont.Dispose Method

Releases the resourced used by the CTFont object.

Syntax

public Void Dispose ()

Remarks

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 http://msdn.microsoft.com/en-us/library/498928w2.aspx

Requirements

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