PdfCoreOptionsPdfCompliance Property
Gets or sets the PDF compliance.

Namespace: Aspose.Imaging.FileFormats.Pdf
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public PdfComplianceVersion PdfCompliance { get; set; }

Property Value

Type: PdfComplianceVersion
The PDF compliance.
Examples
Convert EPS image to PDF using PostScript rendering.
[C#]

using (var image = (EpsImage)Image.Load("Sample.eps"))
{
    var options = new PdfOptions
    {
        PdfCoreOptions = new PdfCoreOptions
        {
            PdfCompliance = PdfComplianceVersion.PdfA1b // Set required PDF compliance
        }
    };

    image.Save("Sample.pdf", options);
}
See Also