1# oh_display_capture.h 2 3 4## Overview 5 6The **oh_display_capture.h** file declares the capability to take screenshots. 7 8**File to include**: <window_manager/oh_display_capture.h> 9 10**Library**: libnative_display_manager.so 11 12**System capability**: SystemCapability.WindowManager.WindowManager.Core 13 14**Since**: 14 15 16**Related module**: [OH_DisplayManager](_o_h___display_manager.md) 17 18 19## Summary 20 21 22### Functions 23 24| Name| Description| 25| -------- | -------- | 26| [NativeDisplayManager_ErrorCode](_o_h___display_manager.md#nativedisplaymanager_errorcode) [OH_NativeDisplayManager_CaptureScreenPixelmap](_o_h___display_manager.md#oh_nativedisplaymanager_capturescreenpixelmap) (uint32_t displayId, OH_PixelmapNative \*\*pixelMap) | Takes a screenshot of the entire screen. This function can be used only on tablets and 2-in-1 devices. It can be used to capture a full-screen screenshot on the specified display.| 27