NXPlanetViewCaptureScreen Method (String, Int32, Int32, Int32, Int32, Int32, Int32, XFrameCaptureBuffereCaptureMode, String, XThread) |
Namespace: Pixoneer.NXDL.NXPlanet
public bool CaptureScreen( string outputPath, int nX1, int nX2, int nY1, int nY2, int nOutNX, int nOutNY, XFrameCaptureBuffereCaptureMode mode, out string strErr, XThread thd )
string strOutputPath = "d:\\capture.xdm", strErr = ""; // 절취 영역 설정 int x1 = 100; int x2 = 200; int y1 = 100; int y2 = 200; // 출력 크기 int nOutNX = 1000; int nOutNY = 1000; bool res = nxPlanetView2D.CaptureScreen(strOutputPath, x1, x2, y1, y2, nOutNX, nOutNY, XFrameCaptureBuffer::BASEMAP, out strErr, null);