ColorTranslator Class
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.
Translates colors to and from GDI+ Color structures. This class cannot be inherited.
public ref class ColorTranslator abstract sealed
public ref class ColorTranslator sealed
public static class ColorTranslator
public sealed class ColorTranslator
type ColorTranslator = class
Public Class ColorTranslator
Public NotInheritable Class ColorTranslator
- Inheritance
-
ColorTranslator
Methods
FromHtml(String) |
Translates an HTML color representation to a GDI+ Color structure. |
FromOle(Int32) |
Translates an OLE color value to a GDI+ Color structure. |
FromWin32(Int32) |
Translates a Windows color value to a GDI+ Color structure. |
ToHtml(Color) |
Translates the specified Color structure to an HTML string color representation. |
ToOle(Color) |
Translates the specified Color structure to an OLE color. |
ToWin32(Color) |
Translates the specified Color structure to a Windows color. |
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin