'Declaration
Public Overloads Sub DrawString( _ ByVal s As String, _ ByVal font As PdfFont, _ ByVal brush As PdfBrush, _ ByVal rectangle As PdfVisualRectangle, _ ByVal structureElement As PdfStructureElement _ )
'Usage
Dim instance As PdfGraphics Dim s As String Dim font As PdfFont Dim brush As PdfBrush Dim rectangle As PdfVisualRectangle Dim structureElement As PdfStructureElement instance.DrawString(s, font, brush, rectangle, structureElement)
public void DrawString( string s, PdfFont font, PdfBrush brush, PdfVisualRectangle rectangle, PdfStructureElement structureElement )
public: void DrawString( String^ s, PdfFont^ font, PdfBrush^ brush, PdfVisualRectangle^ rectangle, PdfStructureElement^ structureElement )
Parameters
- s
- String to draw.
- font
- PdfFont that defines the text format of the string.
- brush
- PdfBrush that determines the color and texture of the drawn text.
- rectangle
- PdfVisualRectangle object that specifies the location of the drawn text.
- structureElement
- The structure element that is associated with this piece of content.