C# Класс Fonet.Pdf.Gdi.GdiDeviceContent

A very lightweight wrapper around a Win32 device context
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Delete the device context freeing the associated memory.

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Delete the device context freeing the associated memory.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GdiDeviceContent() публичный Метод

Creates a new device context that matches the desktop display surface
public GdiDeviceContent ( ) : System
Результат System

GetCurrentObject() публичный Метод

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
Результат System.IntPtr

SelectFont() публичный Метод

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.
Результат System.IntPtr