Exporting HTML to PDF & RTF

  •  09-29-2011, 10:31 PM

    Exporting HTML to PDF & RTF

    I wish to create PDf & RTF documents in background process Through a  business layer. How can I imports "CuteEditor"   
     
    (VB)
    eg: BLL.vb file

    Imports System.IO

    Imports System

    Imports System.Data

    Imports System.Data.SqlClient
    Imports RM.Data.Adapters.OptInTableAdapters
    Imports System.Web.Security

    Imports System.Data.OleDb

    Imports CuteEditor     [does  not contain any public members or cannot be found]

     
    <System.ComponentModel.DataObject()> _
    Public Class DocIntegrateBLL
    Public Sub CreateExamplePDF(ByVal content As String)
    Dim html2pdf As New CuteEditor.Convertor.PDF.HTML2PDF(content)  [Not defined]
    html2pdf.Render()
    html2pdf.Save("C:\SampleDir\testdoc.pdf")
    End Sub
    End Class
     
View Complete Thread