Table of Contents

Method InterCharSpacing

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

InterCharSpacing(char, Font, out SizeD, out float)

Calculates the size of a single character and the spacing between two consecutive characters.

public void InterCharSpacing(char ch, Font font, out SizeD charSize, out float spacing)

Parameters

ch char

The character to measure.

font Font

The font used for measurement.

charSize SizeD

When this method returns, contains the size of the character.

spacing float

When this method returns, contains the spacing between two consecutive characters.