Description
Assembly: pdfduo-net (in pdfduo-net.dll)
Version: 2.3.0.0 (2.3)
CopyC#
CopyVB.NET
Convert the HTML to the PDF string, reforming HTML's tags into PDF format structure.
Namespace:
DuoDimensionAssembly: pdfduo-net (in pdfduo-net.dll)
Version: 2.3.0.0 (2.3)
Syntax
| C# | Visual Basic |
public string ToString()
Public Function ToString As String
Return Value
The resulting PDF as a string.
Examples
string file_html = @"K:\hdoc.html"; try { DuoDimension.HtmlToPdf conv = new DuoDimension.HtmlToPdf(); conv.OpenHTML(file_html); string pdf_st = conv.ToString(); } catch (Exception ex) { MessageBox.Show(ex.Message); }
Dim file_html As String = "K:\hdoc.html" Dim st As String Try Dim conv As New DuoDimension.HtmlToPdf() conv.OpenHTML(file_html) st = conv.ToString() Catch ex As Exception MessageBox.Show(ex.Message) End Try
See Also
HtmlToPdf Class
DuoDimension Namespace