XFINIUM.PDF Documentation
DrawString(String,PdfStringAppearanceOptions,PdfStringLayoutOptions,PdfStructureElement) Method



Xfinium.Pdf.Graphics Namespace > PdfGraphics Class > DrawString Method : DrawString(String,PdfStringAppearanceOptions,PdfStringLayoutOptions,PdfStructureElement) Method
String to draw.
Options that determine the string visual appearance.
Options that determine the text layout.
The structure element that is associated with this piece of content.
Draws the specified text string with the specified appearance and layout options.
Syntax
'Declaration
 
Public Overloads Sub DrawString( _
   ByVal s As String, _
   ByVal stringAppearanceOptions As PdfStringAppearanceOptions, _
   ByVal stringLayoutOptions As PdfStringLayoutOptions, _
   ByVal structureElement As PdfStructureElement _
) 
'Usage
 
Dim instance As PdfGraphics
Dim s As String
Dim stringAppearanceOptions As PdfStringAppearanceOptions
Dim stringLayoutOptions As PdfStringLayoutOptions
Dim structureElement As PdfStructureElement
 
instance.DrawString(s, stringAppearanceOptions, stringLayoutOptions, structureElement)

Parameters

s
String to draw.
stringAppearanceOptions
Options that determine the string visual appearance.
stringLayoutOptions
Options that determine the text layout.
structureElement
The structure element that is associated with this piece of content.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfGraphics Class
PdfGraphics Members
Overload List