We are using Visual Studio 2013/VB.net/.NET 4.0 - and on the Server W2k3/.NET 4.0
Allthoug we have installed the license on both machines, we get always the PDF with the watermark. How can we remove the watermark?
- Code: Select all
Public Shared Function HelloWorldPDF(ByVal _path As String) As Guid
Dim g As Guid
g = Guid.NewGuid
Dim vpe As New IDEALSoftware.VpeProfessional.VpeControl
vpe.OpenDoc()
vpe.PageFormat = IDEALSoftware.VpeWebProfessional.PageFormat.A4
vpe.PageOrientation = IDEALSoftware.VpeWebProfessional.PageOrientation.Portrait
vpe.PageWidth = 2100
vpe.nBottomMargin = 2960
vpe.Write(100, 100, vpe.nFree, vpe.nFree, "Hello World")
Dim savePath As String = _path + "\" + g.ToString() + ".pdf"
vpe.WriteDoc(savePath)
vpe.CloseDoc()
Return g
End Function
Tnx
Stefan