Show / Hide Table of Contents

Class CIUResult

Results of CaptureScreen.ImageColorRectUI.

public class CIUResult

Namespace: Au.Types
Assembly: Au.dll
Inheritance
object
CIUResult

Fields

Name Description
color

Captured color in 0xAARRGGBB format. Alpha 0xFF.

dpiScale

If used flags to get window pixels and the window is DPI-scaled (smaller when capturing), on Windows 10 and later contains the scale factor. Else 1.

image

Captured image. null if captured single pixel color or used flag CIUFlags.Rectangle.

possiblyWrongWindow

If true, most likely w is incorrect window, because the window that was there before capturing disappeared while capturing, for example it was a popup menu. If captured from screen (without flags like WindowDC), w may be correct even if this is true (can't detect reliably), else certainly incorrect.

rect

Location of the captured image or rectangle, in screen coordinates.

w

Window or control containing the captured image or rectangle, if whole image is in its client area. In some cases may be incorrect, for example if windows moved/opened/closed/etc while capturing.