TextFragmentState.IsFitRectangle

TextFragmentState.IsFitRectangle method

Checks if input string could be placed inside defined rectangle.

public bool IsFitRectangle(string str, Rectangle rect)
ParameterTypeDescription
strStringString to check.
rectRectangleRectangle to check.

Return Value

True if string fit rectangle; otherwise false.

See Also