Activation of PDF Vision .Net.
Complete code
using System;
using System.IO;
using SautinSoft;
namespace Sample
{
class Test
{
static void Main(string[] args)
{
// PDF Vision .Net activation.
PdfVision v = new PdfVision();
// Place your serial(s) number.
// You will get own serial number(s) after purchasing the license.
// If you will have any questions, email us at sales@sautinsoft.com or ask at online chat https://www.sautinsoft.com.
v.Serial = "1234567890";
string inpFile = @"..\..\image4.jpg";
string outFile = @"Result.pdf";
if (v.ConvertImageFileToPDFFile(inpFile, outFile) == 0)
{
// Open the resulting PDF document in a default PDF Viewer.
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(outFile) { UseShellExecute = true });
}
}
}
}
Imports System
Imports System.IO
Imports SautinSoft
Namespace Sample
Friend Class Test
Shared Sub Main(ByVal args() As String)
' PDF Vision .Net activation.
Dim v As New PdfVision()
' Place your serial(s) number.
' You will get own serial number(s) after purchasing the license.
' If you will have any questions, email us at sales@sautinsoft.com or ask at online chat https://www.sautinsoft.com.
v.Serial = "1234567890"
Dim inpFile As String = "..\..\image4.jpg"
Dim outFile As String = "Result.pdf"
If v.ConvertImageFileToPDFFile(inpFile, outFile) = 0 Then
' Open the resulting PDF document in a default PDF Viewer.
System.Diagnostics.Process.Start(New System.Diagnostics.ProcessStartInfo(outFile) With {.UseShellExecute = True})
End If
End Sub
End Class
End Namespace
If you need a new code example or have a question: email us at support@sautinsoft.com or ask at Online Chat (right-bottom corner of this page) or use the Form below: