Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

#Declaration

Delphi
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