Function TWPCustomRtfEdit.TextWidth(resolution:Integer) : Integer

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • resolution:Integer

Returns

The type of the result value is Integer.

Description

This function provides the length of the longest line in the text. It requires the text to be formatted to work. You need to pass the resolution you need the returned value measured in.