←Select platform

FromColorRef Method

Summary
Creates a new RasterColor object from a Windows COLORREF representation.
Syntax
C#
C++/CLI
Java
Python
[CLSCompliantAttribute(false)] 
public static RasterColor FromColorRef( 
   uint value 
) 
public static RasterColor fromColorRef( 
   int intValue 
); 
[CLSCompliantAttribute(false)] 
public: 
static RasterColor FromColorRef(  
   uint value 
)  
def FromColorRef(self,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 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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