AvalonEdit
Draw Method (drawingContext, origin, rightToLeft, sideways)
NamespacesICSharpCode.AvalonEdit.RenderingFormattedTextRunDraw(DrawingContext, Point, Boolean, Boolean)
Draws the text object.
Declaration Syntax
C#Visual BasicVisual C++
public override void Draw(
	DrawingContext drawingContext,
	Point origin,
	bool rightToLeft,
	bool sideways
)
Public Overrides Sub Draw ( _
	drawingContext As DrawingContext, _
	origin As Point, _
	rightToLeft As Boolean, _
	sideways As Boolean _
)
public:
virtual void Draw(
	DrawingContext^ drawingContext, 
	Point origin, 
	bool rightToLeft, 
	bool sideways
) override
Parameters
drawingContext (DrawingContext)
The DrawingContext to use for rendering the text object.
origin (Point)
The Point value that represents the origin where the text object is drawn.
rightToLeft (Boolean)
A Boolean value that determines if the text object is drawn from right to left.
sideways (Boolean)
A Boolean value that determines if the text object is drawn with its side parallel to the baseline.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238