ExtensionsDrawText(DrawingContext, String, Point, AlignmentX, AlignmentY, Double, Double) Method |
Namespace: ArthaChitra.Model.CommonAssembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax public static void DrawText(
this DrawingContext dc,
string txt,
Point origin,
AlignmentX alignmentX,
AlignmentY alignmentY,
out double txtWidth,
out double txtHeight
)
Parameters
- dc DrawingContext
-
- txt String
-
- origin Point
-
- alignmentX AlignmentX
-
- alignmentY AlignmentY
-
- txtWidth Double
-
- txtHeight 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