| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property Order As RasterByteOrder | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public RasterByteOrder Order {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property RasterByteOrder get_Order(); | |
| C++/CLI | |
|---|---|
public: property RasterByteOrder Order { RasterByteOrder get(); } | |
Return Value
The color order of this RasterImage.The RasterImage object supports storing the image data in one of the following color orders:
| Order | Notes |
|---|---|
| RasterByteOrder.Rgb | The image data contains the color in the RGB order. For example, for 24-bits per pixel images the data is stored as the 3 bytes representing the red, green and blue component respectively. Palettized images (with bits per pixel less than or qual to 8) will also report a byte order of RGB although the image data stored is really indices into the palette. |
| RasterByteOrder.Bgr | The image data contains the color in the BGR order. For example, for 24-bits per pixel images the data is stored as the 3 bytes representing the blue, green and red component respectively. |
| RasterByteOrder.Gray | The image data contains the grayscale colors. For 12 and 16-bits per pixel images, the image data contains the grayscale values of the pixel, for 8-bits per pixel gray scale images, the image data contains an index into the grayscale palette. |
| RasterByteOrder.Romm | The image data is compressed in memory using ROMM. Only valid for 24-bits per pixel images. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family