Class TextMeasurer

This class measures the width of some text in pixels using a specified font and size.

System.Object
  Stonefield.Library.TextMeasurer
public class TextMeasurer : object

Class Members

MemberDescription

Constructor

Pass the constructor the font and units to use for measurements.

MeasureString

Measures the specified text.

public SizeF MeasureString(string text)

public SizeF MeasureString(string text,     float width)

Requirements

Namespace: Stonefield.Library
Assembly: library.dll