THtmlViewer component
function FullDisplaySize(FormatWidth: integer): TSize;
Use the FullDisplaySize method to determine the overall height and width of the current document when it is formatted to a particular width.
FormatWidthThe format width desired. Most text will wrap to this width.
Result.cxThe full width of the formatted document. This may exceed FormatWidth if there are items that can't be compressed or wrapped.
Result.cyThe height of the document for the FormatWidth selected.