Renders text for the document.
[Visual Basic]
Public Sub RenderDirectText( _
ByVal x As Object, _
ByVal y As Object, _
ByVal text As String, _
ByVal width As Object, _
ByVal font As Font, _
ByVal textColor As Color, _
ByVal horzAlign As C1.Win.C1TrueDBGrid.AlignHorzEnum _
)
[C#]
public void RenderDirectText(
object x,
object y,
string text,
object width,
Font font,
Color textColor,
C1.Win.C1TrueDBGrid.AlignHorzEnum horzAlign
);
[Delphi]
public procedure RenderDirectText(
x: Object;
y: Object;
text: String;
width: Object;
font: Font;
textColor: Color;
horzAlign: C1.Win.C1TrueDBGrid.AlignHorzEnum
);
Parameters
x
X-coordinate to start the rendering.
y
Y-coordinate to start the rendering.
text
The text to render.
width
The width for the rendered text.
font
The font to use.
textColor
The color of the text.
horzAlign
The alignment to render the text.
Remarks
Position and size of the text box (x, y, width, and height) may be specified either as numbers (in which case they are interpreted in default units), as strings consisting of a number followed by a unit name (in which case units may be specified).
See Also
C1OwnerDrawPrint Class | C1OwnerDrawPrint Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |