Click or drag to resize

RtfToHtmlSerial Property

Note: This API is now obsolete.

Set your activation key.

Namespace: SautinSoft
Assembly: SautinSoft.RtfToHtml (in SautinSoft.RtfToHtml.dll) Version: 2024.11.25
Syntax
[ObsoleteAttribute]
public string Serial { set; }

Property Value

String
Example
Product Activation using C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using SautinSoft;

namespace Example
{
    class Program
    {
        static void Main(string[] args)
        {
            Activation();
        }
        /// <summary>
        /// How to activate SautinSoft.RtfToHtml component.
        /// </summary>
        static void Activation()
        {
            // You will get own serial number after purchasing the license.
            // If you will have any questions, email us to sales@sautinsoft.com or ask at online chat https://www.sautinsoft.com.
            // Let us say, you have this key: 1234567890.            

            RtfToHtml.SetLicense("1234567890");
            // Activation of Rtf To Html .Net after purchasing.

            RtfToHtml r = new RtfToHtml();

            string inpFile = @"..\..\..\example.docx";
            string outFile = "Result.html";

            r.Convert(inpFile, outFile, new RtfToHtml.HtmlFixedSaveOptions() { Title = "SautinSoft.RtfToHtml Activation" });

            // Open the result for demonstration purposes.
            System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(outFile) { UseShellExecute = true });
        }
    }
}
Product Activation using VB.Net
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.IO
Imports SautinSoft

Namespace Example
    Friend Class Program
        Shared Sub Main(ByVal args() As String)
            Activation()
        End Sub
        ''' <summary>
        ''' How to activate SautinSoft.RtfToHtml component.
        ''' </summary>
        Private Shared Sub Activation()
            ' You will get own serial number after purchasing the license.
            ' If you will have any questions, email us to sales@sautinsoft.com or ask at online chat https://www.sautinsoft.com.

            ' Let us say, you have this key: 1234567890.            
            RtfToHtml.SetLicense("1234567890")
            ' Activation of Rtf To Html .Net after purchasing.

            Dim r As New RtfToHtml()


            Dim inpFile As String = "..\..\..\example.docx"
            Dim outFile As String = "Result.html"

            r.Convert(inpFile, outFile, new RtfToHtml.HtmlFixedSaveOptions() With {.Title = "SautinSoft.RtfToHtml Activation"})

            ' Open the result for demonstration purposes.
            System.Diagnostics.Process.Start(New System.Diagnostics.ProcessStartInfo(outFile) With {.UseShellExecute = True})
        End Sub
    End Class
End Namespace
See Also