Color.ToHex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToHex() | |
ToHex(Boolean) |
Obsolete.
|
ToHex()
ToHex(Boolean)
- Source:
- Color.cs
- Source:
- Color.cs
Caution
Use ToArgbHex instead.
public:
System::String ^ ToHex(bool includeAlpha);
[System.Obsolete("Use ToArgbHex instead.")]
public string ToHex (bool includeAlpha);
[<System.Obsolete("Use ToArgbHex instead.")>]
member this.ToHex : bool -> string
Public Function ToHex (includeAlpha As Boolean) As String
Parameters
- includeAlpha
- Boolean
Returns
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.