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

TdxPSReportRenderer.DrawText(TdxPSReportRenderCustomCanvas,TRect,Integer,Integer,Integer,string,TFont,TColor,TcxTextAlignX,TcxTextAlignY,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) Method

In This Article

#Declaration

Delphi
procedure DrawText(ACanvas: TdxPSReportRenderCustomCanvas; var R: TRect; AMaxLineCount: Integer; ALeftIndent: Integer; ARightIndent: Integer; const AText: string; AFont: TFont; ABkColor: TColor; ATextAlignX: TcxTextAlignX; ATextAlignY: TcxTextAlignY; AFillBackground: Boolean; AMultiline: Boolean; AEndEllipsis: Boolean; APreventLeftTextExceed: Boolean = True; APreventTopTextExceed: Boolean = True; AHidePrefix: Boolean = True);

#Parameters

Name Type
ACanvas TdxPSReportRenderCustomCanvas
R TRect
AMaxLineCount Integer
ALeftIndent Integer
ARightIndent Integer
AText string
AFont TFont
ABkColor TColor
ATextAlignX TcxTextAlignX
ATextAlignY TcxTextAlignY
AFillBackground Boolean
AMultiline Boolean
AEndEllipsis Boolean
APreventLeftTextExceed Boolean
APreventTopTextExceed Boolean
AHidePrefix Boolean
See Also