PdfCoreOptionsPdfCompliance Property
Gets or sets the PDF compliance.

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

Property Value

Type: PdfComplianceVersion
The PDF compliance.
Convert EPS image to PDF using PostScript rendering.

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