DrawText(IDeviceContext, String, Font, Point, Color, TextFormatFlags) Method

// .NET Framework 2.0
// System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089

namespace System.Windows.Forms
{
    public sealed class TextRenderer
    {
        public static void DrawText(IDeviceContext dc, string text, Font font, Point pt, Color foreColor, TextFormatFlags flags);
    }
}

Usage

Metadata

ID
M:System.Windows.Forms.TextRenderer.DrawText(System.Drawing.IDeviceContext,System.String,System.Drawing.Font,System.Drawing.Point,System.Drawing.Color,System.Windows.Forms.TextFormatFlags)

Declarations

Platform Version Assembly
.NET Core 3.1 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
.NET Core + Platform Extensions 3.0 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
.NET Framework 2.0 System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089
3.0 System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089
3.5 System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089
4.0 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.5 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.5.1 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.5.2 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.6 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.6.1 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.6.2 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.7 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.7.1 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.7.2 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.8 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
Mono 2.0 System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089
3.5 System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089
4.0 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
4.5 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089
5.0 System.Windows.Forms, Version=4.0.0.0, PublicKeyToken=b77a5c561934e089