C# Класс SIL.Utils.ImagePicture

Наследование: IPicture, IDisposable, IPictureDisp, IComDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

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

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

Метод Описание
FromImage ( Image img ) : ImagePicture

Construct a ImagePicture from a C# Image object

ImageBytes ( byte pbData, int cbData ) : ImagePicture

Construct a ImagePicture from an array of bytes

ImagePicture ( ) : System
PictureChanged ( ) : void
Render ( IntPtr hdc, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, IntPtr prcWBounds ) : void

Render ( int hdc, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, IntPtr prcWBounds ) : void
SaveAsFile ( IntPtr pstm, bool fSaveMemCopy, int &pcbSize ) : void
SelectPicture ( int hdcIn, int &phdcOut, int &phbmpOut ) : void
SetHdc ( int hdc ) : void
put_hPal ( int val ) : void

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

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

Releases unmanaged and - optionally - managed resources

IComDisposable ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IDisposable ( ) : void

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

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

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool fDisposing ) : void
fDisposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources.
Результат void

FromImage() публичный статический метод

Construct a ImagePicture from a C# Image object
public static FromImage ( Image img ) : ImagePicture
img Image
Результат ImagePicture

IComDisposable() защищенный метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected IComDisposable ( ) : void
Результат void

IDisposable() защищенный метод

protected IDisposable ( ) : void
Результат void

ImageBytes() публичный статический метод

Construct a ImagePicture from an array of bytes
public static ImageBytes ( byte pbData, int cbData ) : ImagePicture
pbData byte
cbData int
Результат ImagePicture

ImagePicture() публичный метод

public ImagePicture ( ) : System
Результат System

PictureChanged() публичный метод

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

Render() публичный метод

public Render ( IntPtr hdc, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, IntPtr prcWBounds ) : void
hdc System.IntPtr
x int
y int
cx int
cy int
xSrc int
ySrc int
cxSrc int
cySrc int
prcWBounds System.IntPtr
Результат void

Render() публичный метод

public Render ( int hdc, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, IntPtr prcWBounds ) : void
hdc int
x int
y int
cx int
cy int
xSrc int
ySrc int
cxSrc int
cySrc int
prcWBounds System.IntPtr
Результат void

SaveAsFile() публичный метод

public SaveAsFile ( IntPtr pstm, bool fSaveMemCopy, int &pcbSize ) : void
pstm System.IntPtr
fSaveMemCopy bool
pcbSize int
Результат void

SelectPicture() публичный метод

public SelectPicture ( int hdcIn, int &phdcOut, int &phbmpOut ) : void
hdcIn int
phdcOut int
phbmpOut int
Результат void

SetHdc() публичный метод

public SetHdc ( int hdc ) : void
hdc int
Результат void

put_hPal() публичный метод

public put_hPal ( int val ) : void
val int
Результат void

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

m_img защищенное свойство

Contains the image this is Rendered.
protected Image m_img
Результат Image