Click or drag to resize

ExtensionsDrawText(DrawingContext, String, Point, Double, Brush, Double, Double) Method


Namespace: ArthaChitra.Model.Common
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
public static void DrawText(
	this DrawingContext dc,
	string txt,
	Point origin,
	double fontSize,
	Brush brush,
	out double textWidth,
	out double textHeight
)

Parameters

dc  DrawingContext
 
txt  String
 
origin  Point
 
fontSize  Double
 
brush  Brush
 
textWidth  Double
 
textHeight  Double
 

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DrawingContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also