# oh_display_capture.h ## Overview The **oh_display_capture.h** file declares the capability to take screenshots. **File to include**: <window_manager/oh_display_capture.h> **Library**: libnative_display_manager.so **System capability**: SystemCapability.WindowManager.WindowManager.Core **Since**: 14 **Related module**: [OH_DisplayManager](_o_h___display_manager.md) ## Summary ### Functions | Name| Description| | -------- | -------- | | [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.|