Class ScaledFontOwnedHandle
public class ScaledFontOwnedHandle : ScaledFontHandle, IDisposable- Inheritance
- 
      
      
      
      
      ScaledFontOwnedHandle
- Implements
- Inherited Members
Constructors
ScaledFontOwnedHandle(nint)
Creates a new instance of ScaledFontOwnedHandle. Assumes that the given pointer is owned by the runtime.
public ScaledFontOwnedHandle(nint ptr)Parameters
- ptrnint
Methods
FromUnowned(nint)
Create a ScaledFontOwnedHandle from a pointer that is assumed unowned. To do so a boxed copy is created of the given pointer to be used as the handle.
public static ScaledFontOwnedHandle FromUnowned(nint ptr)Parameters
- ptrnint
- A pointer to a ScaledFont which is not owned by the runtime. 
Returns
- ScaledFontOwnedHandle
- A ScaledFontOwnedHandle 
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()