Function TParagraph.CalcMinimumWidth(maximum:Integer) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • maximum:Integer

Returns

The type of the result value is Integer.

Description

This function is used for cells. It can be used to calculate the width of the largest word in a given cell by checking the length of the longest word. It also calculates the maximum width - which must be initialized with 0.