Property to activate your copy, doesn't work in trial version

Namespace:  SautinSoft
Assembly:  PDFVision (in PDFVision.dll) Version: 4.0.12.12

Syntax

      
 C#  Visual Basic 
public string Serial { set; }
Public WriteOnly Property Serial As String

Remarks



Examples

CopyHow to activate the component after purchasing in C#
using System;
using System.IO;

namespace Sample
{
    class Test
    {

        static void Main(string[] args)
        {

            //Activate the component after purchasing
            SautinSoft.PdfVision v = new SautinSoft.PdfVision();

            //Place your serial number here, which you have got after purchasing the component
            //if have any questions, email us to sales@sautinsoft.com or ask at online chat http://www.sautinsoft.com
            v.Serial = "1234567890";

            int ret = v.ConvertImageFileToPDFFile(@"..\..\..\..\..\image2.png", @"..\..\..\..\..\hardcopy.pdf");

            if(ret==0 )
            {
                //Show produced PDF in Acrobat Reader
                System.Diagnostics.Process.Start(@"..\..\..\..\..\hardcopy.pdf");
            }
        }
    }
}
CopyHow to activate the component after purchasing in VB.Net
Imports System.IO

Module Sample

    Sub Main()

        'Activate the component after purchasing
        Dim v As New SautinSoft.PdfVision

        'Place your serial number here, which you have got after purchasing the component
        'if you have any questions, email us to sales@sautinsoft.com or ask at online chat http://www.sautinsoft.com
        v.Serial = "1234567890"

        Dim pdfPath As String = "..\..\..\..\hardcopy.pdf"
        Dim ret As Integer = v.ConvertImageFileToPDFFile("..\..\..\..\image2.png", pdfPath)

        If ret = 0 Then
            'Show produced PDF in Acrobat Reader
            System.Diagnostics.Process.Start(pdfPath)
        End If
    End Sub
End Module

See Also