Returns the rectangle of char. Function may return Rectangle.Empty if char has no place (char is a CR or LF at end of char for example), or if TextAngle does not equal to 0, 90, 180 or 270.

Namespace:  C1.C1PrintDocument.Util
Assembly:  C1.C1PrintDocument.Classic.2 (in C1.C1PrintDocument.Classic.2.dll)

Syntax

C#
public Rectangle GetCharLuRect(
	int charIndex,
	out int lineIndexOfChar
)
Visual Basic (Declaration)
Public Function GetCharLuRect ( _
	charIndex As Integer, _
	<OutAttribute> ByRef lineIndexOfChar As Integer _
) As Rectangle

Parameters

charIndex
Type: System..::.Int32
Index of char, first char has zero index.
lineIndexOfChar
Type: System..::.Int32%
Contains the index of line containing the char on exit.

Return Value

See Also