ThumbImageBuffer

The image content of the thumbnail or icon. Set in ScreenCaptureSourceInfo.

public class ThumbImageBuffer
    {
        public Int64 buffer { set; get; }
        public uint length { set; get; }
        public uint width { set; get; }
        public uint height { set; get; }

        public ThumbImageBuffer()
        {
            buffer = 0;
            length = 0;
            width = 0;
            height = 0;
        }
    };
Note: The default image is in the ARGB format. If you need to use another format, you need to convert the image on your own.

Attributes

buffer
The buffer of the thumbnail or icon.
length
The buffer length of the thumbnail or icon, in bytes.
width
The actual width (px) of the thumbnail or icon.
height
The actual height (px) of the thumbnail or icon.