Leadtools.Workflow.Raster Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ByteOrder Property
See Also 
Leadtools.Workflow.Raster Namespace > LoadImageActivity Class : ByteOrder Property



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.

Syntax

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);
}

Return Value

The color order for 16-, 24-, 32-, 48-, and 64-bit images.

Remarks

Valid values for this property are:

ValueMeaning
CodecsLoadByteOrder.RgbRed, green, and blue color order in memory
CodecsLoadByteOrder.BgrBlue, green, and red color order in memory
CodecsLoadByteOrder.Gray12 or 16-bit grayscale image. 12 and 16-bit grayscale images are only supported in the Document/Medical Imaging editions.
CodecsLoadByteOrder.RgbOrGrayLoad 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.BgrOrGrayLoad 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.RommROMM order. ROMM only supports 24 and 48-bit images
CodecsLoadByteOrder.BgrOrGrayOrRommLoad 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.

Requirements

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

See Also

Leadtools.Workflow.Raster requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features