Font Methods

 

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodClone()

Creates an exact copy of this Font.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by this Font.

System_CAPS_pubmethodEquals(Object)

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).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodSystem_CAPS_staticFromHdc(IntPtr)

Creates a Font from the specified Windows handle to a device context.

System_CAPS_pubmethodSystem_CAPS_staticFromHfont(IntPtr)

Creates a Font from the specified Windows handle.

System_CAPS_pubmethodSystem_CAPS_staticFromLogFont(Object)

Creates a Font from the specified GDI logical font (LOGFONT) structure.

System_CAPS_pubmethodSystem_CAPS_staticFromLogFont(Object, IntPtr)

Creates a Font from the specified GDI logical font (LOGFONT) structure.

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this Font.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetHeight()

Returns the line spacing, in pixels, of this font.

System_CAPS_pubmethodGetHeight(Graphics)

Returns the line spacing, in the current unit of a specified Graphics, of this font.

System_CAPS_pubmethodGetHeight(Single)

Returns the height, in pixels, of this Font when drawn to a device with the specified vertical resolution.

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToHfont()

Returns a handle to this Font.

System_CAPS_pubmethodToLogFont(Object)

Creates a GDI logical font (LOGFONT) structure from this Font.

System_CAPS_pubmethodToLogFont(Object, Graphics)

Creates a GDI logical font (LOGFONT) structure from this Font.

System_CAPS_pubmethodToString()

Returns a human-readable string representation of this Font.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

Return to top
Show: