←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 Leadtools.RasterColor 
[CLSCompliantAttribute(false)] 
public: 
static Leadtools.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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly