TXTextControl.Drawing.TXDrawingControl.PrintPaint Method

Renders the displayed shapes on the specified System.Drawing.Graphics object.

PrintPaint(Graphics, Rectangle)

Renders only the displayed shapes on the specified System.Drawing.Graphics object. No activated UI elements are rendered.

[C#]
public void PrintPaint(System.Drawing.Graphics graphics, System.Drawing.Rectangle position);
[Visual Basic]
Public Sub PrintPaint(ByVal graphics As System.Drawing.Graphics, ByVal position As System.Drawing.Rectangle)
Parameter Description
graphics

Specifies the object of type System.Drawing.Graphics the displayed shapes are rendered to.

position

Specifies the position to draw on the specified System.Drawing.Graphics object.

PrintPaint(Graphics, Rectangle, Boolean)

Renders the displayed shapes on the specified System.Drawing.Graphics object with or without activated UI elements.

[C#]
public void PrintPaint(System.Drawing.Graphics graphics, System.Drawing.Rectangle position, bool showUIElements);
[Visual Basic]
Public Sub PrintPaint(ByVal graphics As System.Drawing.Graphics, ByVal position As System.Drawing.Rectangle, ByVal showUIElements As Boolean)
Parameter Description
graphics

Specifies the object of type System.Drawing.Graphics the displayed shapes are rendered to.

position

Specifies the position to draw on the specified System.Drawing.Graphics object.

showUIElements

Specifies whether the activated UI elements are rendered on the specified System.Drawing.Graphics object or not.

See Also