Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ZugferdConformanceLevel

    Show / Hide Table of Contents

    Class ZugferdConformanceLevel

    Specifies the ZugferdConformanceLevel

    Inheritance
    System.Object
    ZugferdConformanceLevel
    Namespace: Syncfusion.Pdf
    Assembly: Syncfusion.Pdf.Portable.dll
    Syntax
    public sealed class ZugferdConformanceLevel : Enum
    Remarks

    It supports only in PdfConformanceLevel Pdf_A3B

    Examples
    //Creates a new PDF document.
    PdfDocument doc = new PdfDocument(PdfConformanceLevel.Pdf_A3B);
    //Add a page.
    PdfPage page = doc.Pages.Add();
    //Set the ZugferdProfile.
    doc.ZugferdConformanceLevel = ZugferdConformanceLevel.Basic;
    //Create the PdfTrueTypeFont
    PdfFont font = new PdfTrueTypeFont(new Font("arial", 12f, FontStyle.Regular), true);
    page.Graphics.DrawString("Hello World", font, PdfBrushes.Black, PointF.Empty); 
    //Creates an attachment
    PdfAttachment attachment = new PdfAttachment("ZUGFeRD-invoice.xml");
    //Set the file relationship
    attachment.Relationship = PdfAttachmentRelationship.Alternative;
    attachment.ModificationDate = DateTime.Now;
    attachment.Description = "About Syncfusion";
    attachment.MimeType = "application/xml";
    //add attachment to the doucment
    doc.Attachments.Add(attachment);
    doc.Save("output.pdf");
    'Creates a new PDF document.
    Dim doc As New PdfDocument(PdfConformanceLevel.Pdf_A3B)
    'Add a page.
    Dim page As PdfPage = doc.Pages.Add()
    'Set the ZugferdProfile.
    doc.ZugferdConformanceLevel = ZugferdConformanceLevel.Basic
    'Create the PdfTrueTypeFont
    Dim font As PdfFont = New PdfTrueTypeFont(New Font("arial", 12F, FontStyle.Regular), True)
    page.Graphics.DrawString("Hello World", font, PdfBrushes.Black, PointF.Empty)
    'Creates an attachment
    Dim attachment As New PdfAttachment("ZUGFeRD-invoice.xml")
    'Set the file relationship
    attachment.Relationship = PdfAttachmentRelationship.Alternative
    attachment.ModificationDate = DateTime.Now
    attachment.Description = "About Syncfusion"
    attachment.MimeType = "application/xml"
    'add attachment to the doucment
    doc.Attachments.Add(attachment)
    doc.Save("output.pdf")

    Fields

    Basic

    Represent the Basic Level, which contains basic details and additional information included as free text.

    Declaration
    public const ZugferdConformanceLevel Basic
    Field Value
    Type Description
    ZugferdConformanceLevel

    Basic_WL

    Represent the Basic_WL Level, it does not contain any invoicing information and therefore does not represent VAT-conformant invoices, but in document level it contains accounting entries.

    Declaration
    public const ZugferdConformanceLevel Basic_WL
    Field Value
    Type Description
    ZugferdConformanceLevel
    Remarks

    Supported only in version ZUGFeRD 2.1

    Comfort

    Represent the Comfort Level, The details are structured and fully automated.

    Declaration
    public const ZugferdConformanceLevel Comfort
    Field Value
    Type Description
    ZugferdConformanceLevel

    EN16931

    Represent the EN1 6931 Level, The European standard supported in ZUGFeRD 2.0.

    Declaration
    public const ZugferdConformanceLevel EN16931
    Field Value
    Type Description
    ZugferdConformanceLevel
    Remarks

    Supported only in version ZUGFeRD 2.0

    Extended

    Represent the Extend Level, which contains still more structured data for exchanging invoice across different industry segments. This level is fully automated and highly qualified XML

    Declaration
    public const ZugferdConformanceLevel Extended
    Field Value
    Type Description
    ZugferdConformanceLevel

    Minimum

    Represent the Minimum Level, which contains basic invoice details and compatible with the French standard Factur-X

    Declaration
    public const ZugferdConformanceLevel Minimum
    Field Value
    Type Description
    ZugferdConformanceLevel
    Remarks

    Supported only in version ZUGFeRD 2.0

    None

    Represent the no Level

    Declaration
    public const ZugferdConformanceLevel None
    Field Value
    Type Description
    ZugferdConformanceLevel

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved