public final class BuildVersionInfo extends Object
Build information
[C#] //Create pdf document Pdf pdf1 = new Pdf(); // Create Section object and add it to PDF document Aspose.Pdf.Generator.Section section1 = pdf1.Sections.Add(); // Obtain Assembly version information and add it to Text paragraph section1.Paragraphs.Add(new Text("Product Version Number = " + Aspose.Pdf.Generator.BuildVersionInfo.AssemblyVersion.ToString())); // Save the document pdf1.Save(@"D:\pdftest\AssemblyInfo.pdf"); [Visual Basic] 'Instantiate Pdf instance by calling it empty constructor Dim pdf1 As Pdf = New Pdf() 'Create a section in the Pdf object Dim section As Section = pdf1.Sections.Add() ' Obtain Assembly version information and add it to Text paragraph section.Paragraphs.Add(New Text("Product Version Number = " + Aspose.Pdf.Generator.BuildVersionInfo.AssemblyVersion.ToString())) ' save the document pdf1.Save("D:/ pdftest/AssemblyInfo.pdf")
Modifier and Type | Field and Description |
---|---|
static String |
ASSEMBLY_VERSION
Assembly Version
|
static String |
FILE_VERSION
File Version
|
static String |
PRODUCT
Product Name
|
Constructor and Description |
---|
BuildVersionInfo() |
public static final String ASSEMBLY_VERSION
Assembly Version
public static final String PRODUCT
Product Name
public static final String FILE_VERSION
File Version
Copyright © 2016 Aspose. All Rights Reserved.