Export (0) Print
Expand All

Font Methods

The Font type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Clone Creates an exact copy of this Font.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by this Font.
Public method Supported by the .NET Compact Framework Equals Indicates whether the specified object is a Font and has the same FontFamily, GdiVerticalFont, GdiCharSet, Style, Size, and Unit property values as this Font. (Overrides Object.Equals(Object).)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromHdc Creates a Font from the specified Windows handle to a device context.
Public method Static member Supported by the .NET Compact Framework FromHfont Creates a Font from the specified Windows handle.
Public method Static member Supported by the .NET Compact Framework FromLogFont Overloaded. Creates a Font from the specified GDI logical font (LOGFONT) structure.
Public method Supported by the .NET Compact Framework GetHashCode Gets the hash code for this Font. (Overrides Object.GetHashCode().)
Public method GetHeight Overloaded. Returns the line spacing of this font.
Public method Supported by the .NET Compact Framework GetHtx Infrastructure. Gets a pointer for this Font.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework ToHfont Returns a handle to this Font.
Public method ToLogFont Overloaded. Creates a GDI logical font (LOGFONT) structure from this Font.
Public method Supported by the .NET Compact Framework ToString Returns a string representation of this Font. (Overrides Object.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft