Download GetTextMetricsDemo.zip, last updated 09/07/2016 (10.51 KB)

Download
  • md5: 5716cc483e334071b2334c8ae92e076f
  • sha1: 2c94d15164e3498d892843eaf8b78d77dd3ba8c7
  • sha256: 3bf039f038a478d5f31aca3e1ca634739e4343a84de89ab73ff6c2f33653f9c2
using System;
using System.Windows.Forms;

// Retrieving font and text metrics using C#
// http://www.cyotek.com/blog/retrieving-font-and-text-metrics-using-csharp
// Copyright © 2016 Cyotek Ltd. All Rights Reserved.

namespace GetTextMetricsDemo
{
  internal static class Program
  {
    #region Static Methods

    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    {
      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);
      Application.Run(new MainForm());
    }

    #endregion
  }
}

Donate

Donate