function ContentHeight(AFont: TFont; const AContent: String; AHTMLContent: Boolean=False; AAlignment: TContentAlignment=caLeft; ADirection: TContentDirection=cdLeftToRight; AWrap: Boolean=False; AWrapWidth: Integer=0): Integer