PDF for WinRT
DrawString(String,Font,Color,Rect,StringFormat) Method


Text to draw.
Font to use for drawing the text.
Windows.UI.Color of the text.
Windows.Foundation.Rect that specifies the size and position of the text, in points.
StringFormat that contains formatting options.
Draws a string into the specified Windows.Foundation.Rect.
Syntax
'Declaration
 
Public Overloads Function DrawString( _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal color As Color, _
   ByVal rc As Rect, _
   ByVal fmt As StringFormat _
) As Integer
'Usage
 
Dim instance As C1PdfDocument
Dim text As String
Dim font As Font
Dim color As Color
Dim rc As Rect
Dim fmt As StringFormat
Dim value As Integer
 
value = instance.DrawString(text, font, color, rc, fmt)
public int DrawString( 
   string text,
   Font font,
   Color color,
   Rect rc,
   StringFormat fmt
)

Parameters

text
Text to draw.
font
Font to use for drawing the text.
color
Windows.UI.Color of the text.
rc
Windows.Foundation.Rect that specifies the size and position of the text, in points.
fmt
StringFormat that contains formatting options.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback