Function TParagraph.FontSizeAtPosition(x:Integer) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • x:Integer

Returns

The type of the result value is Integer.

Description

This function calculates the font size * 100 at a certain position in the paragraph. This function can be used to estimate the width of characters, esspecially inside the format routine.