Using features I need to pay for?

Using features I need to pay for?

Forum member · Jun 22, 2009
Hello, First, I want to thank you for making the community version free... it's very easy to use and for the very basic purpose I need it for internal use at our office, it is perfect. I have it working but my only problem is the PDF is watermarked with both a background image and a text line at the top indicating I am using features that require a greater license... the only features I am using (to my knowledge) is adding images via the IO.MemoryStream and DrawToWeb, both of which I believe are free according to http://www.DynamicPDF.com/Products/DynamicPDFForNET/FeatureChart.csp#Generator Here is some code I put together very quickly while testing out this library... aside from the watermarks, it gives me the output I want: Dim myDoc As Document = New Document Dim printDocIDs As New DataSet() printDocIDs = Session("dataset") MsgBox(printDocIDs.Tables.Count) For Each myRow In printDocIDs.Tables(0).Rows() Dim myPage As Page = New Page() myDoc.Pages.Add(myPage) myDoc.Pages(myDoc.Pages.Count - 1).Dimensions.SetMargins(0, 0, 0, 0) Dim id As Integer = myRow.Item(0) Dim database As String = myRow.Item(4) Dim ConnectionString As String = "Data Source=XXXX;Persist Security Info=True;Initial Catalog=" & database & ";User ID=XXXXXXXX;Password=XXXXXXX" Dim cn As New SqlClient.SqlConnection(ConnectionString) Dim cmd As SqlClient.SqlCommand Dim dbImage As Byte() = Nothing cmd = New SqlClient.SqlCommand("SELECT data FROM documents_storage WHERE document_id = " & id, cn) cmd.Connection.Open() Try dbImage = cmd.ExecuteScalar() If (Not (dbImage Is Nothing)) Then Dim stmBLOBData As New System.IO.MemoryStream(dbImage) cmd.Connection.Close() Dim img As ceTe.DynamicPDF.PageElements.Image = New ceTe.DynamicPDF.PageElements.Image(stmBLOBData, 0, 0, 0.24) myPage.Elements.Add(img) myDoc.Draw() stmBLOBData.Close() End If Catch ex As Exception MsgBox(ex.ToString, MsgBoxStyle.Critical) End Try Next myDoc.DrawToWeb() As you can see, all it does is pull a sequence of images from a database into a memorystream and adds them to the PDF page by page... what part of that is a paid feature? More just trying to understand. Thanks again!

Re: Using features I need to pay for?

Support · Jun 22, 2009
Hello, Can you please let us know what is the format of the image that you are adding from the database (i.e. What extension does the image have)? Thanks, ceTe Software Support Team

Re: Using features I need to pay for?

Forum member · Jun 22, 2009
I think you may have answered my question... I believe they may be stored as TIFFs and based on the feature set, loading TIFFs is a paid feature.