public RasterColor16(int red,int green,int blue)
red
The red component value for the new structure. Valid values are MinimumComponent through MaximumComponent.
green
The green component value for the new structure. Valid values are MinimumComponent through MaximumComponent.
blue
The blue component value for the new structure. Valid values are MinimumComponent through MaximumComponent.
This structure has no alpha component.
using Leadtools;public void RasterColor16Example(){// create a white colorRasterColor16 white16 = new RasterColor16(RasterColor16.MaximumComponent, RasterColor16.MaximumComponent, RasterColor16.MaximumComponent);// create a black colorRasterColor16 black16 = new RasterColor16(RasterColor16.MinimumComponent, RasterColor16.MinimumComponent, RasterColor16.MinimumComponent);}
Imports LeadtoolsPublic Sub RasterColor16Example()' create a white colorDim white16 As RasterColor16 = New RasterColor16(RasterColor16.MaximumComponent, RasterColor16.MaximumComponent, RasterColor16.MaximumComponent)' create a black colorDim black16 As RasterColor16 = New RasterColor16(RasterColor16.MinimumComponent, RasterColor16.MinimumComponent, RasterColor16.MinimumComponent)End Sub
c#[Silverlight C# Example]using Leadtools;using Leadtools.Windows.Media;public void RasterColor16Example(){// create a white colorRasterColor16 white16 = new RasterColor16(RasterColor16.MaximumComponent, RasterColor16.MaximumComponent, RasterColor16.MaximumComponent);// create a black colorRasterColor16 black16 = new RasterColor16(RasterColor16.MinimumComponent, RasterColor16.MinimumComponent, RasterColor16.MinimumComponent);}vb[Silverlight VB Example]Imports LeadtoolsImports Leadtools.Windows.MediaPublic Sub RasterColor16Example()' create a white colorDim white16 As RasterColor16 = New RasterColor16(RasterColor16.MaximumComponent, RasterColor16.MaximumComponent, RasterColor16.MaximumComponent)' create a black colorDim black16 As RasterColor16 = New RasterColor16(RasterColor16.MinimumComponent, RasterColor16.MinimumComponent, RasterColor16.MinimumComponent)End Sub
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
