C# 클래스 SIL.Utils.ImagePicture

상속: IPicture, IDisposable, IPictureDisp, IComDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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