←Select platform

FromColorRef Method

Summary
Creates a new RasterColor object from a Windows COLORREF representation.
Syntax
C#
VB
C++
[CLSCompliantAttribute(false)] 
public static RasterColor FromColorRef( 
   uint value 
) 
<CLSCompliantAttribute(False)> 
Public Shared Function FromColorRef( _ 
   ByVal value As UInteger _ 
) As RasterColor 
[CLSCompliantAttribute(false)] 
public: 
static RasterColor FromColorRef(  
   uint value 
)  

Parameters

value
A Windows COLORREF representation of a color.

Return Value

The created RasterColor.

Remarks

A Windows COLORREF contains the color the following hexadecimal form:

0x00bbggrr

This value will retrieve the values and set them in the B, G and R properties.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.