void DrawText(CanvasDrawingSession session, TextLayout textLayout, float x, float y) { session.DrawTextLayout( new Vector2(x, y), textLayout, Colors.Black, CanvasDrawTextOptions.None); }In this example, the DrawText method takes as parameters a CanvasDrawingSession object, a TextLayout object, and coordinates for the position where the text should be drawn. The method then calls the DrawTextLayout method on the session object to actually draw the text. This method can be found in the Win2D package library, which is a DirectX-powered library for Windows and Windows Phone that provides a way for developers to create 2D graphics in C#.