←Select platform

ToHtml Method

Summary
Converts this RasterColor structure to an html color.
Syntax
C#
C++/CLI
Java
Python
public string ToHtml() 
public java.lang.String toHtml(); 
public: 
String^ ToHtml();  
def ToHtml(self): 

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 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.