Table of Contents

Method CharPairSize

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

CharPairSize(char, Font)

Returns the size of a pair of identical characters when drawn with the specified font.

public SizeD CharPairSize(char ch, Font font)

Parameters

ch char

The character to measure as a pair.

font Font

The font used for measurement.

Returns

SizeD

A SizeD structure representing the width and height of the character pair.