[CLSCompliantAttribute(false)]public ushort R { get; set; }
@property (nonatomic, assign) unsigned short r; public short getR();public void setR(short shortValue);
R # get and set (RasterColor16)
The red component of this RasterColor structure.
using Leadtools;public void RasterColor16ComponentsExample(){// This C# example shows how to create a normal grayscale LUT.RasterColor16[] lut = new RasterColor16[1024];RasterColor16 color = new RasterColor16(0, 0, 0);for (ushort i = 0; i < 1024; i++){int gray = i * 65535 / 1023;color.R = (ushort)gray;color.G = (ushort)gray;color.B = (ushort)gray;lut[i] = color;}}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
