|
NEditorCaptureImage(String, Int32, Int32, Int32, Int32, Boolean) Method
|
현재 화면에서 일부 영역을 캡쳐하여 이미지 파일로 저장한다.
Namespace: Pixoneer.NXDL.NXAnnotationAssembly: NXAnnotation (in NXAnnotation.dll) Version: 3.0.0.0 (3.0.0.0)
Syntaxpublic bool CaptureImage(
string strFilePath,
int left,
int top,
int width,
int height,
bool isImageOnly = false
)
Parameters
- strFilePath String
- 저장할 이미지 파일 경로(jpg, bmp, png 파일 포맷 지원)
- left Int32
- 캡쳐할 영역의 좌상단 좌표 중 X값(Screen 좌표)
- top Int32
- 캡쳐할 영역의 좌상단 좌표 중 Y값(Screen 좌표)
- width Int32
- 캡쳐할 영역의 가로 길이
- height Int32
- 캡쳐할 영역의 세로 길이
- isImageOnly Boolean (Optional)
- true 일 경우 주기를 제외한 영상만 캡쳐한다.
Return Value
Boolean캡쳐 성공하면 true, 실패하면 false 반환
See Also