C# Class Fonet.Pdf.Gdi.GdiDeviceContent

A very lightweight wrapper around a Win32 device context
Inheritance: IDisposable
Exibir arquivo Open project: Mimeo/Fo.Net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Dispose ( ) : void
GdiDeviceContent ( ) : System

Creates a new device context that matches the desktop display surface

GetCurrentObject ( GdiDcObject objectType ) : IntPtr

Gets a handle to an object of the specified type that has been selected into this device context.

SelectFont ( GdiFont font ) : IntPtr

Selects a font into a device context (DC). The new object replaces the previous object of the same type.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Delete the device context freeing the associated memory.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

Delete the device context freeing the associated memory.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GdiDeviceContent() public method

Creates a new device context that matches the desktop display surface
public GdiDeviceContent ( ) : System
return System

GetCurrentObject() public method

Gets a handle to an object of the specified type that has been selected into this device context.
public GetCurrentObject ( GdiDcObject objectType ) : IntPtr
objectType GdiDcObject
return System.IntPtr

SelectFont() public method

Selects a font into a device context (DC). The new object replaces the previous object of the same type.
public SelectFont ( GdiFont font ) : IntPtr
font GdiFont Handle to object.
return System.IntPtr