LEADTOOLS Workflow (Leadtools.Workflow.Raster assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ByteOrder Property
See Also 
Leadtools.Workflow.Raster Namespace > LoadImageActivity Class : ByteOrder Property



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.

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

Property Value

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

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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