←Select platform

ToHtml Method (RasterColor)

Summary

Converts this RasterColor structure to an html color.

Syntax

C#
VB
C++
public string ToHtml() 
Public Function ToHtml() As String 
public: 
String^ ToHtml();  

Return Value

An HTML compatible string representation of the color of this RasterColor structure.

Remarks

If the color has an alpha component of 255, then the result is in the #RRGGBB format, if the color has an alpha component with any other value than 255; then the result is the rgba(r,g,b,a) format.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize