Class PdfConformanceLevel
Specifies the Pdf document's Conformance-level.
Inheritance
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public sealed class PdfConformanceLevel : Enum
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A1B);
//Add a page in the PDF document.
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font.
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance.
PdfFont pdfFont = new PdfTrueTypeFont(font, false);
//Draw text in the new page.
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk.
document.Save("ConformanceLevel.pdf");
//Close the document.
//document.Close(true);
'Create a new PDF document.
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A1B)
'Create a page to the document.
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance.
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False)
'Draw text in the new page.
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk.
document.Save("ConformanceLevel.pdf")
'Close the document.
document.Close(True)
Fields
None
Specifies Default / No Conformance.
Declaration
public const PdfConformanceLevel None
Field Value
Type |
---|
PdfConformanceLevel |
Pdf_A1A
This PDF/A ISO standard [ISO 19005-1:2005] is based on Adobe PDF version 1.4 and This Level A conformance was intended to increase the accessibility of conforming files for physically impaired users by allowing assistive software, such as screen readers, to more precisely extract and interpret a file's contents.
Declaration
public const PdfConformanceLevel Pdf_A1A
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A1A);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A1A)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A1B
This PDF/A ISO standard [ISO 19005-1:2005] is based on Adobe PDF version 1.4 and This Level B conformance indicates minimal compliance to ensure that the rendered visual appearance of a conforming file is preservable over the long term.
Declaration
public const PdfConformanceLevel Pdf_A1B
Field Value
Type |
---|
PdfConformanceLevel |
Pdf_A2A
PDF/A-2 Standard is based on a PDF 1.7 (ISO 32000-1) and This Level A conformance was intended to increase the accessibility of conforming files for physically impaired users by allowing assistive software, such as screen readers, to more precisely extract and interpret a file's contents.
Declaration
public const PdfConformanceLevel Pdf_A2A
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A2A);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A2A)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A2B
PDF/A-2 Standard is based on a PDF 1.7 (ISO 32000-1) which provides support for transparency effects and layers embedding of OpenType fonts
Declaration
public const PdfConformanceLevel Pdf_A2B
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A2B);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, false);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A2B)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A2U
PDF/A-2 Standard is based on a PDF 1.7 (ISO 32000-1) and This Level U conformance represents Level B conformance (PDF/A-2b) with the additional requirement that all text in the document have Unicode mapping.
Declaration
public const PdfConformanceLevel Pdf_A2U
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A2U);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A2U)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A3A
PDF/A-3 Standard is based on a PDF 1.7 (ISO 32000-1) which provides support for embedding the arbitrary file formats (XML, CSV, CAD, Word Processing documents) and This Level A conformance was intended to increase the accessibility of conforming files for physically impaired users by allowing assistive software, such as screen readers, to more precisely extract and interpret a file's contents.
Declaration
public const PdfConformanceLevel Pdf_A3A
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A3A);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A3A)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A3B
PDF/A-3 Standard is based on a PDF 1.7 (ISO 32000-1) which provides support for embedding the arbitrary file formats (XML, CSV, CAD, Word Processing documents)
Declaration
public const PdfConformanceLevel Pdf_A3B
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A3B);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, false);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A3B)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A3U
PDF/A-3 Standard is based on a PDF 1.7 (ISO 32000-1)
and This Level U conformance represents Level B conformance (PDF/A-3b) with the additional requirement that all text in the document have Unicode mapping.
Declaration
public const PdfConformanceLevel Pdf_A3U
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A3U);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A3U)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A4
PDF/A-4 Standard is based on a PDF 2.0 (ISO 32000-2). The separate conformance levels a, b, and u are not used in PDF/A-4. Instead, PDF/A-4 encourages but does not require the addition of higher-level logical structures, and it requires Unicode mappings for all fonts.
Declaration
public const PdfConformanceLevel Pdf_A4
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A4);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A4)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A4E
PDF/A-4E Standard is based on a PDF 2.0 (ISO 32000-2). PDF/A-4e is intended for engineering documents and acts as a successor to the PDF/E-1 standard. PDF/A-4e supports Rich Media and 3D Annotations as well as embedded files.
Declaration
public const PdfConformanceLevel Pdf_A4E
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A4E);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A4E)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_A4F
PDF/A-4F Standard is based on a PDF 2.0 (ISO 32000-2). It allows embedding files in any other format.
Declaration
public const PdfConformanceLevel Pdf_A4F
Field Value
Type |
---|
PdfConformanceLevel |
Examples
//Create a new PDF document
PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A4F);
//Add a page in the PDF document
PdfPage page = document.Pages.Add();
//Create a 'Times New Roman' font
Font font = new Font("Times New Roman", 10);
//Create the PDF font instance
PdfFont pdfFont = new PdfTrueTypeFont(font, FontStyle.Regular, 12, false, true);
//Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10));
//Save the document to disk
document.Save("ConformanceLevel.pdf");
//Close the document
//document.Close(true);
'Create a new PDF document
Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A4F)
'Create a page to the document
Dim page As PdfPage = document.Pages.Add()
'Create a 'Times New Roman' font
Dim font As Font = New Font("Times New Roman", 10)
'Create the PDF font instance
Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, FontStyle.Regular, 12, False, True)
'Draw text in the new page
page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10))
'Save the document to disk
document.Save("ConformanceLevel.pdf")
'Close the document
document.Close(True)
Pdf_X1A2001
This PDF/X-1a:2001 ISO standard [ISO 15930-1] is based on Adobe PDF version 1.3 which uses only CMYK + Spot Color and this compliance to ensure that the contents will be reliably reproduced in the repress environment.
Declaration
public const PdfConformanceLevel Pdf_X1A2001
Field Value
Type |
---|
PdfConformanceLevel |