LEADTOOLS (Leadtools assembly)

FromColorRef Method

Show in webframe







A Windows COLORREF representation of a color.
Creates a new RasterColor object from a Windows COLORREF representation.
Syntax
[CLSCompliantAttribute(false)]
public static RasterColor FromColorRef( 
   uint value
)
'Declaration
 
<CLSCompliantAttribute(False)>
Public Shared Function FromColorRef( _
   ByVal value As UInteger _
) As RasterColor
'Usage
 
Dim value As UInteger
Dim value As RasterColor
 
value = RasterColor.FromColorRef(value)
[CLSCompliantAttribute(false)]
public static RasterColor FromColorRef( 
   uint value
)

            

            
CLSCompliantAttribute()
 function Leadtools.RasterColor.FromColorRef( 
   value 
)
[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 retreive the values and set them in the B, G and R properties.

Requirements

Target Platforms

See Also

Reference

RasterColor Structure
RasterColor Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.