Table of Contents

Class WhitespaceSizeStatistics

Namespace
UglyToad.PdfPig.Util
Assembly
UglyToad.PdfPig.dll

Measures of whitespace size based on point size.

public static class WhitespaceSizeStatistics
Inheritance
WhitespaceSizeStatistics
Inherited Members

Methods

GetExpectedWhitespaceSize(Letter)

Get the average whitespace sized expected for a given letter.

public static double GetExpectedWhitespaceSize(Letter letter)

Parameters

letter Letter

Returns

double

IsProbablyWhitespace(double, Letter)

Check if the measured gap is probably big enough to be a whitespace character based on the letter.

public static bool IsProbablyWhitespace(double gap, Letter letter)

Parameters

gap double
letter Letter

Returns

bool