Xfinium.Pdf.Graphics.Text Namespace > PdfTextEngine Class > GetStringHeight Method : GetStringHeight(String,PdfFont,Double,Boolean) Method |
'Declaration
Public Overloads Shared Function GetStringHeight( _ ByVal s As String, _ ByVal font As PdfFont, _ ByVal width As Double, _ ByVal forceLongWordsWrap As Boolean _ ) As Double
'Usage
Dim s As String Dim font As PdfFont Dim width As Double Dim forceLongWordsWrap As Boolean Dim value As Double value = PdfTextEngine.GetStringHeight(s, font, width, forceLongWordsWrap)
Supported .NET Platforms: .NET 2.0 - .NET 4.6, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Windows Phone 8 & 8.1, Xamarin iOS & Android, Portable Class Library