TdxPSReportRenderCustomCanvas.CalculateTextRect(string,TRect,TcxTextOutFormat,TFont,Integer,Integer,Integer,TColor,Single) Method
In This Article
#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 | Tcx |
AFont | TFont |
AMax |
Integer |
ALeft |
Integer |
ARight |
Integer |
AText |
TColor |
ALine |
Single |
#Returns
Type |
---|
Integer |
See Also