Skip to main content

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

Declaration

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