Table of Contents

Method GetCharsInWidth

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

GetCharsInWidth(int)

Returns number of characters painted with current font that will fit into specified Width.

public virtual int GetCharsInWidth(int width)

Parameters

width int

Width to fit characters.

Returns

int

Number of characters that can fit in.

GetCharsInWidth(int, bool)

protected int GetCharsInWidth(int width, bool exact)

Parameters

width int
exact bool

Returns

int