C# / .Net API Library Reference
Data Fields | Properties
ViewImageFormat Class Reference

The ViewImageFormat structure describes a view's pixel format, scan line order, and alignment.

Public Functions

Constructors and Destructors
 ViewImageFormat ()

Data Fields

int Alignment
ScanLineOrder ScanLineOrder


PixelFormat PixelFormat [get, set]

Field Documentation

int Alignment

The alignment; the default value is 4.

The scan line order, or orientation. The default value is TopDown.

Property Documentation

PixelFormat PixelFormat

The pixel format; the default value is Rgb24.

Underlying pixel formats vary between operating systems (Windows, Linux). Some trial and error may be necessary to ensure accurate color representation.