Skip to main content

TdxPSReportRenderCustomCanvas.CalculateTextRect(string,TRect,TcxTextOutFormat,TFont,Integer,Integer,Integer,TColor,Single) Method

Declaration

function CalculateTextRect(const AText: string; var R: TRect; AFormat: TcxTextOutFormat = CXTO_DEFAULT_FORMAT; AFont: TFont = nil; AMaxLineCount: Integer = 0; ALeftIndent: Integer = 0; ARightIndent: Integer = 0; ATextColor: TColor = clDefault; ALineSpacing: Single = 1.0): Integer; virtual; abstract;

Parameters

Name Type
AText string
R TRect
AFormat TcxTextOutFormat
AFont TFont
AMaxLineCount Integer
ALeftIndent Integer
ARightIndent Integer
ATextColor TColor
ALineSpacing Single

Returns

Type
Integer
See Also