←Select platform

ToHtml Method (RasterColorHelper)

Summary

Converts this RasterColor structure to an html color.

Syntax

C#
VB
WinRT C#
C++
public string ToHtml(  
   Leadtools.RasterColor color 
) 
Public Function ToHtml( _ 
   ByVal color As Leadtools.RasterColor _ 
) As String 
public string ToHtml(  
   Leadtools.RasterColor color 
) 
 function Leadtools.RasterColorHelper.ToHtml(  
   color  
) 
public: 
String^ ToHtml(  
   Leadtools.RasterColor color 
)  

Parameters

color
The raster color object.

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