←Select platform

ToHtml Method

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

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

Leadtools Assembly