C# 클래스 NewTOAPIA.Drawing.GDIInfoContext

상속: System.Runtime.InteropServices.SafeHandle
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
CreateInfoForDevice ( string device, string name ) : GDIInfoContext
GetDeviceCaps ( int nIndex ) : int
SetGraphicsMode ( int mode ) : void

보호된 메소드들

메소드 설명
ReleaseHandle ( ) : bool
SetupDefaultState ( ) : void

Setup the device to be in a known good starting state. We know we want ADVANCED drawing, so that is set.

비공개 메소드들

메소드 설명
GDIInfoContext ( GDIContext aDC ) : System
GDIInfoContext ( IntPtr hDC, bool ownHandle ) : System

메소드 상세

CreateInfoForDevice() 공개 정적인 메소드

public static CreateInfoForDevice ( string device, string name ) : GDIInfoContext
device string
name string
리턴 GDIInfoContext

GetDeviceCaps() 공개 메소드

public GetDeviceCaps ( int nIndex ) : int
nIndex int
리턴 int

ReleaseHandle() 보호된 메소드

protected ReleaseHandle ( ) : bool
리턴 bool

SetGraphicsMode() 공개 메소드

public SetGraphicsMode ( int mode ) : void
mode int
리턴 void

SetupDefaultState() 보호된 메소드

Setup the device to be in a known good starting state. We know we want ADVANCED drawing, so that is set.
protected SetupDefaultState ( ) : void
리턴 void