ComponentOne Word for UWP
DrawString(String,Font,Color,Rect,StringFormat) Method

C1.UWP.Word Assembly > C1.Xaml.Word Namespace > C1WordDocument Class > DrawString Method : DrawString(String,Font,Color,Rect,StringFormat) Method
The text string of the paragraph.
The drawing font.
The drawing color.
The drawing rectangle.
The drawing string format.
Draw text string into this document in next position.
Syntax
'Declaration
 
Public Overloads Sub DrawString( _
   ByVal text As System.String, _
   ByVal font As Font, _
   ByVal clr As Windows.UI.Color, _
   ByVal rc As Windows.Foundation.Rect, _
   ByVal sf As StringFormat _
) 
public void DrawString( 
   System.string text,
   Font font,
   Windows.UI.Color clr,
   Windows.Foundation.Rect rc,
   StringFormat sf
)

Parameters

text
The text string of the paragraph.
font
The drawing font.
clr
The drawing color.
rc
The drawing rectangle.
sf
The drawing string format.
See Also

Reference

C1WordDocument Class
C1WordDocument Members
Overload List