Spire.PDF.for..NET.2.3.0.with.Serial
Spire.PDF.for..NET.2.3.0.with.Serial >>> https://urluss.com/2ttVGa
How to use Spire.PDF for .NET 2.3.0 with Serial
Spire.PDF for .NET is a versatile PDF library that enables software developers to generate, edit, read and manipulate PDF files within their own .NET applications[^1^]. It provides users an incredible wealth of features without installing Adobe Acrobat. It also supports .NET Core, MonoAndroid and Xamarin.iOS platforms[^1^].
In this article, we will show you how to use Spire.PDF for .NET 2.3.0 with Serial, which is a licensed version of the component that removes the watermark and page limit of the trial version[^2^]. You will need to purchase a license from E-ICEBLUE, the official provider of Spire.PDF, and apply it to your project before using the component.
Step 1: Download and install Spire.PDF for .NET 2.3.0
You can download Spire.PDF for .NET 2.3.0 from the E-ICEBLUE website[^2^] or install it via NuGet[^1^]. The installation package includes the Spire.PDF dlls, sample code, API help and license agreement. You can also download a hot fix patch that contains only the dlls[^2^].
Step 2: Apply the license
After you purchase a license from E-ICEBLUE, you will receive an email with a license file attached. You need to copy the license file to your project folder and reference it in your code. You can apply the license in two ways:
Using a license file path: Spire.Pdf.PdfLicenseProvider.SetLicenseFilePath(\"your license file path\");
Using a license file stream: Spire.Pdf.PdfLicenseProvider.SetLicenseFile(\"your license file stream\");
You only need to apply the license once in your application.
Step 3: Use Spire.PDF for .NET 2.3.0 with Serial
Now you can use Spire.PDF for .NET 2.3.0 with Serial to create, write, edit, convert, print, handle and read PDF files on any .NET applications. You can refer to the sample code and API help in the installation package or visit the E-ICEBLUE website[^2^] for more tutorials and documentation.
Here is a simple example of creating a PDF document with Spire.PDF for .NET 2.3.0 with Serial:
//Create a PDF document
PdfDocument doc = new PdfDocument();
//Add a page
PdfPageBase page = doc.Pages.Add();
//Create a font
PdfFont font = new PdfFont(PdfFontFamily.Helvetica, 12f);
//Create a brush
PdfBrush brush = PdfBrushes.Black;
//Draw text on the page
page.Canvas.DrawString(\"Hello, world!\", font, brush, 10f, 10f);
//Save the document
doc.SaveToFile(\"Hello.pdf\");
//Launch the document
System.Diagnostics.Process.Start(\"Hello.pdf\");
We hope this article helps you get started with Spire.PDF for .NET 2.3.0 with Serial. If you have any questions or feedback, please feel free to contact us at support@e-iceblue.com.
Step 4: Convert PDF to other formats
Spire.PDF for .NET 2.3.0 with Serial also allows you to convert PDF files to other formats, such as Word, Excel, HTML, Image, XML, Text and XPS. You can use the Spire.Pdf.PdfDocument.SaveToFile method with different parameters to specify the output format and options. For example, to convert a PDF file to Word format, you can use the following code:
//Load a PDF document
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(\"Sample.pdf\");
//Convert to Word format
doc.SaveToFile(\"Output.docx\", FileFormat.DOCX);
//Launch the document
System.Diagnostics.Process.Start(\"Output.docx\");
You can also convert a specific page or range of pages from a PDF document to other formats. For more details, please refer to the API help or the E-ICEBLUE website.
Step 5: Edit PDF content and properties
Spire.PDF for .NET 2.3.0 with Serial also enables you to edit the content and properties of PDF files. You can use the Spire.Pdf.PdfDocument.Pages property to access the pages of a PDF document and manipulate them. You can also use the Spire.Pdf.PdfDocument.DocumentInformation property to access and modify the metadata of a PDF document, such as title, author, subject, keywords and creator. For example, to change the title of a PDF document, you can use the following code:
//Load a PDF document
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(\"Sample.pdf\");
//Change the title
doc.DocumentInformation.Title = \"New Title\";
//Save the document
doc.SaveToFile(\"Output.pdf\");
//Launch the document
System.Diagnostics.Process.Start(\"Output.pdf\");
You can also edit the text, images, shapes, hyperlinks, bookmarks, annotations and other elements in a PDF document using Spire.PDF for .NET 2.3.0 with Serial. For more details, please refer to the API help or the E-ICEBLUE website. 248dff8e21