This documentation is for the old version. Go to the latest Graphics Mill docs

Common.ConvertToWebColor Method

Converts the Color class instance to its hex representation of the RGB triad in HTML-style syntax.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
Public Shared Function ConvertToWebColor ( _
	color As Color _
) As String
C#
public static string ConvertToWebColor(
	Color color
)

Parameters

color

Type: System.Drawing.Color

The color to convert.

Return Value

The String which contains a hex representation of the RGB triad in HTML-style syntax equivalent to the color value.

See Also

Reference