Click or drag to resize
XDL

NXMapView.CaptureScreen Method

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

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

Parameters

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

Return Value

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