Skip to main content

Class ValidationProfile

Namespace: AdCodicem.Pdf.Validation
Assembly: AdCodicem.Pdf.dll

An ordered set of validation rules, with a name and a version.

public sealed class ValidationProfile

Inheritance​

object ← ValidationProfile

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Remarks​

The library provides the profiles; callers cannot yet assemble their own, nor write rules. The ValidationProfile.Structural profile holds for any PDF, whatever it claims to conform to; the PDF/A and PDF/UA profiles arrive with the AdCodicem.Pdf.Conformance package.

Properties​

Name​

Gets the profile's name, as reports carry it.

public string Name { get; }

Property Value​

string

RuleIds​

Gets the identifiers of the rules the profile runs, in the order it runs them.

public IReadOnlyList<string> RuleIds { get; }

Property Value​

IReadOnlyList<string>

Structural​

Gets the structural profile: the rules that hold for any PDF, whatever it claims to conform to.

public static ValidationProfile Structural { get; }

Property Value​

ValidationProfile

Version​

Gets the profile's version. A stable release that changes what the profile reports increments it; previews do not.

public int Version { get; }

Property Value​

int

Methods​

ToString()​

Returns a string that represents the current object.

public override string ToString()

Returns​

string

A string that represents the current object.