The ByteOrder Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets a value indicating the color order for 16-, 24-, 32-, 48-, and 64-bit images. If the resulting image is less than 16 bits per pixel, this will have no effect since palletized images have no order.Visual Basic (Declaration) | |
---|---|
Public Property ByteOrder As CodecsLoadByteOrder |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LoadImageActivity Dim value As CodecsLoadByteOrder instance.ByteOrder = value value = instance.ByteOrder |
C# | |
---|---|
public CodecsLoadByteOrder ByteOrder {get; set;} |
C++/CLI | |
---|---|
public: property CodecsLoadByteOrder ByteOrder { CodecsLoadByteOrder get(); void set ( CodecsLoadByteOrder value); } |
Property Value
The color order for 16-, 24-, 32-, 48-, and 64-bit images.Valid values for this property are:
Value | Meaning |
---|---|
CodecsLoadByteOrder.Rgb | Red, green, and blue color order in memory |
CodecsLoadByteOrder.Bgr | Blue, green, and red color order in memory |
CodecsLoadByteOrder.Gray | 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are only supported in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.RgbOrGray | Load the image as red, green, blue OR as a 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are supported in the Document/Medical Imaging editions |
CodecsLoadByteOrder.BgrOrGray | Load the image as blue, green, red OR as a 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are supported in the Document/Medical Imaging editions |
CodecsLoadByteOrder.Romm | ROMM order. ROMM only supports 24 and 48-bit images |
CodecsLoadByteOrder.BgrOrGrayOrRomm | Load the image as red, green, blue OR as a 12 or 16-bit grayscale image OR as ROMM. 12 and 16-bit grayscale images are supported in the Document/Medical Imaging editions only. ROMM only supports 24 and 48-bit color images. |
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7