Click or drag to resize
XDL

NXImageViewCaptureScreen Method

composite 레이어 내용을 캡쳐하여 파일(jpg, bmp, jpeg, xdm)로 저장한다.

Namespace: Pixoneer.NXDL.NXImage
Assembly: NXImage (in NXImage.dll) Version: 2.0.3.38
Syntax
C#
public bool CaptureScreen(
	int left,
	int top,
	int width,
	int height,
	bool bOnlyComposite,
	string filename
)

Parameters

left  Int32
[In] 화면 좌표계값으로 경계영역 왼쪽 x 좌표.
top  Int32
[In]화면 좌표계값으로 경계영역 위쪽 y 좌표.
width  Int32
[In] 화면 좌표계값으로 캡쳐할 화면 폭.
height  Int32
[In] 화면 좌표계값으로 캡쳐할 화면 높이.
bOnlyComposite  Boolean
[In] 화면의 composite 내용만을 캡쳐할 것인지에 대한 여부.
filename  String
[In] 저장 경로.

Return Value

Boolean
설정이 완료되면 true를 반환하고, 그렇지 않으면 false를 반환한다.
Remarks
ImageView에 등록된 모든 레이어의 내용을 캡쳐하여 저장한다. Imageview에 등록된 모든 레이어의 내용을 캡쳐하여 저장한다.
See Also