PdfConversionProofOptions
OfficeIMO.Pdf
Configures reusable proof checks for source-document to PDF conversion results.
Inheritance
- object
- PdfConversionProofOptions
Remarks
Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.
Usage
Explore 43 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 40
- Method PdfConversionProofOptions.AcceptWarningCodes
- Method PdfConversionProofOptions.RequireArtifactSha256
- Method PdfConversionProofOptions.RequireAttachmentFileNames
- Method PdfConversionProofOptions.RequireCatalogLanguage
- Method PdfConversionProofOptions.RequireCatalogPageLayout
- Method PdfConversionProofOptions.RequireCatalogPageMode
- Method PdfConversionProofOptions.RequireCatalogView
- Method PdfConversionProofOptions.RequireFormFieldNames
- Method PdfConversionProofOptions.RequireLinkUris
- Method PdfConversionProofOptions.RequireLogicalSignals
- Method PdfConversionProofOptions.RequireMetadata
- Method PdfConversionProofOptions.RequireNamedDestinationNames
- Method PdfConversionProofOptions.RequireNoErrors
- Method PdfConversionProofOptions.RequireNoUnexpectedWarningCodes
- Method PdfConversionProofOptions.RequireOpenAction
- Method PdfConversionProofOptions.RequireOptionalContentDefaultConfiguration
- Method PdfConversionProofOptions.RequireOptionalContentGroupCountAtLeast
- Method PdfConversionProofOptions.RequireOptionalContentGroupNames
- Method PdfConversionProofOptions.RequireOptionalContentHiddenGroupNames
- Method PdfConversionProofOptions.RequireOptionalContentLockedGroupNames
- Method PdfConversionProofOptions.RequireOptionalContentOrderedGroupNames
- Method PdfConversionProofOptions.RequireOptionalContentVisibleGroupNames
- Method PdfConversionProofOptions.RequireOutlineTitles
- Method PdfConversionProofOptions.RequireOutputConditionIdentifiers
- Method PdfConversionProofOptions.RequireOutputIntentSubtypes
- Method PdfConversionProofOptions.RequirePageCount
- Method PdfConversionProofOptions.RequirePageLabelRange
- Method PdfConversionProofOptions.RequirePageLabelRanges
- Method PdfConversionProofOptions.RequirePageSize
- Method PdfConversionProofOptions.RequireTaggedMarkedContentReferencesAtLeast
- Method PdfConversionProofOptions.RequireTaggedStructureElementCountAtLeast
- Method PdfConversionProofOptions.RequireTaggedStructureTypes
- Method PdfConversionProofOptions.RequireTextMarkers
- Method PdfConversionProofOptions.RequireViewerPreference
- Method PdfConversionProofOptions.RequireWarningCodes
- Method PdfConversionProofOptions.RequireWarningSources
- Method PdfConversionProofOptions.RequireXmpMetadata
- Method PdfConversionProofOptions.RequireXmpPdfAIdentification
- Method PdfConversionProofOptions.RequireXmpPdfUaIdentification
- Method PdfConversionProofOptions.RequireXmpSubjects
Accepted by parameters 3
Constructors
public PdfConversionProofOptions() #Methods
public PdfConversionProofOptions AcceptWarningCodes(params string[] codes) #Adds accepted warning codes and returns this options object for fluent setup.
Parameters
- codes string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireArtifactSha256(string sha256) #Requires the generated artifact SHA-256 to match the supplied hash.
Parameters
- sha256 string
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireAttachmentFileNames(params string[] fileNames) #Adds required embedded or associated file names and returns this options object for fluent setup.
Parameters
- fileNames string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireCatalogLanguage(string language) #Requires the generated PDF catalog language to match the supplied value.
Parameters
- language string
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireCatalogPageLayout(PdfCatalogPageLayout pageLayout) #Requires the generated PDF catalog page layout to match the supplied value.
Parameters
- pageLayout OfficeIMO.Pdf.PdfCatalogPageLayout
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireCatalogPageMode(PdfCatalogPageMode pageMode) #Requires the generated PDF catalog page mode to match the supplied value.
Parameters
- pageMode OfficeIMO.Pdf.PdfCatalogPageMode
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireCatalogView(PdfCatalogPageMode? pageMode = null, PdfCatalogPageLayout? pageLayout = null) #Requires the generated PDF catalog view hints to match the supplied values.
Parameters
- pageMode OfficeIMO.Pdf.PdfCatalogPageMode? = null
- pageLayout OfficeIMO.Pdf.PdfCatalogPageLayout? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireFormFieldNames(params string[] names) #Adds required AcroForm field names and returns this options object for fluent setup.
Parameters
- names string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireLinkUris(params string[] uris) #Adds required URI link targets and returns this options object for fluent setup.
Parameters
- uris string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireLogicalSignals(params string[] signals) #Adds required logical readback signals and returns this options object for fluent setup.
Parameters
- signals string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireMetadata(string? title = null, string? author = null, string? subject = null, string? keywords = null) #Requires selected PDF Info dictionary metadata values to match the generated PDF.
Parameters
- title string? = null
- author string? = null
- subject string? = null
- keywords string? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireNamedDestinationNames(params string[] names) #Adds required named destinations and returns this options object for fluent setup.
Parameters
- names string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireNoErrors() #Requires the conversion report to contain no error-severity warnings.
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireNoUnexpectedWarningCodes() #Requires every conversion warning code to be explicitly accepted.
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOpenAction(int pageNumber, PdfOpenActionDestinationMode? destinationMode = null) #Requires the generated PDF catalog open action to target the supplied page and optional destination mode.
Parameters
- pageNumber int
- destinationMode OfficeIMO.Pdf.PdfOpenActionDestinationMode? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOptionalContentDefaultConfiguration(string? name = null, string? creator = null, string? baseState = null) #Requires selected optional-content default configuration values to match the generated PDF.
Parameters
- name string? = null
- creator string? = null
- baseState string? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOptionalContentGroupCountAtLeast(int count) #Requires at least the supplied number of optional-content/layer groups.
Parameters
- count int
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOptionalContentGroupNames(params string[] names) #Adds required optional-content/layer group names and returns this options object for fluent setup.
Parameters
- names string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOptionalContentLockedGroupNames(params string[] names) #Adds optional-content/layer group names that must be locked in the default configuration.
Parameters
- names string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOptionalContentOrderedGroupNames(params string[] names) #Adds optional-content/layer group names that must appear in the default configuration order.
Parameters
- names string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOptionalContentVisibleGroupNames(params string[] names) #Adds optional-content/layer group names that must initially be visible.
Parameters
- names string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOutlineTitles(params string[] titles) #Adds required outline/bookmark titles and returns this options object for fluent setup.
Parameters
- titles string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOutputConditionIdentifiers(params string[] identifiers) #Adds required output condition identifiers and returns this options object for fluent setup.
Parameters
- identifiers string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireOutputIntentSubtypes(params string[] subtypes) #Adds required output intent subtypes and returns this options object for fluent setup.
Parameters
- subtypes string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequirePageCount(int pageCount) #Requires the generated PDF to contain exactly the supplied number of pages.
Parameters
- pageCount int
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequirePageLabelRange(int startPageNumber, PdfPageNumberStyle style, int startNumber = 1, string? prefix = null) #Adds a required page-label range and returns this options object for fluent setup.
Parameters
- startPageNumber int
- style OfficeIMO.Pdf.PdfPageNumberStyle
- startNumber int = 1
- prefix string? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequirePageLabelRanges(params PdfPageLabelRange[] ranges) #Adds required page-label ranges and returns this options object for fluent setup.
Parameters
- ranges OfficeIMO.Pdf.PdfPageLabelRange[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequirePageSize(double width, double height, double tolerance = 0.01) #Requires every generated PDF page to match the supplied size in page user-space units.
Parameters
- width double
- height double
- tolerance double = 0.01
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireTaggedMarkedContentReferencesAtLeast(int count) #Requires at least the supplied number of tagged-PDF marked-content references.
Parameters
- count int
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireTaggedStructureElementCountAtLeast(int count) #Requires at least the supplied number of tagged-PDF structure elements.
Parameters
- count int
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireTaggedStructureTypes(params string[] structureTypes) #Adds required tagged-PDF structure types and returns this options object for fluent setup.
Parameters
- structureTypes string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireTextMarkers(params string[] markers) #Adds required text markers and returns this options object for fluent setup.
Parameters
- markers string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireViewerPreference(string name, string value) #Requires a generated PDF catalog viewer preference value.
Parameters
- name string
- value string
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireViewerPreference(string name, bool value) #Requires a generated PDF catalog viewer preference boolean value.
Parameters
- name string
- value bool
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireWarningCodes(params string[] codes) #Adds required warning codes and returns this options object for fluent setup.
Parameters
- codes string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireWarningSources(params string[] sources) #Adds required warning sources and returns this options object for fluent setup.
Parameters
- sources string[]
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireXmpMetadata(string? title = null, string? creator = null, string? description = null, string? producer = null, string? keywords = null) #Requires selected XMP metadata values to match the generated PDF catalog metadata stream.
Parameters
- title string? = null
- creator string? = null
- description string? = null
- producer string? = null
- keywords string? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireXmpPdfAIdentification(int part, string? conformance = null) #Requires XMP PDF/A identification metadata to match the generated PDF.
Parameters
- part int
- conformance string? = null
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireXmpPdfUaIdentification(int part = 1) #Requires XMP PDF/UA identification metadata to match the generated PDF.
Parameters
- part int = 1
Returns
PdfConversionProofOptionspublic PdfConversionProofOptions RequireXmpSubjects(params string[] subjects) #Adds required XMP subject values and returns this options object for fluent setup.
Parameters
- subjects string[]
Returns
PdfConversionProofOptionsInherited Methods
Properties
public bool RequireReadablePdf { get; set; } #True when the generated PDF must be readable by the OfficeIMO.Pdf reader.
public bool RequireNoErrorWarnings { get; set; } #True when error-severity conversion warnings should fail the proof.
public bool RequireNoUnexpectedWarnings { get; set; } #True when conversion warnings whose codes are not accepted should fail the proof.
public bool RequireLosslessConversion { get; set; } #True when possible content loss in any conversion stage should fail the proof.
public bool IncludeArtifactHash { get; set; } #True when the proof snapshot should include the generated artifact byte count and SHA-256.
public string? RequiredArtifactSha256 { get; set; } #Expected SHA-256 hash for the generated artifact.
public int? RequiredPageCount { get; set; } #Expected page count for the generated PDF artifact.
public double? RequiredPageWidth { get; set; } #Expected page width in page user-space units for every generated page.
public double? RequiredPageHeight { get; set; } #Expected page height in page user-space units for every generated page.
public double RequiredPageSizeTolerance { get; set; } #Allowed point difference when comparing required page size.
public string? RequiredMetadataTitle { get; set; } #Expected PDF Info dictionary title.
public string? RequiredMetadataAuthor { get; set; } #Expected PDF Info dictionary author.
public string? RequiredMetadataSubject { get; set; } #Expected PDF Info dictionary subject.
public string? RequiredMetadataKeywords { get; set; } #Expected PDF Info dictionary keywords.
public string? RequiredCatalogLanguage { get; set; } #Expected catalog language value.
public string? RequiredCatalogPageMode { get; set; } #Expected catalog page mode PDF name.
public string? RequiredCatalogPageLayout { get; set; } #Expected catalog page layout PDF name.
public int? RequiredOpenActionPageNumber { get; set; } #Expected one-based document open-action target page number.
public PdfOpenActionDestinationMode? RequiredOpenActionDestinationMode { get; set; } #Expected document open-action destination mode.
public string? RequiredOptionalContentDefaultConfigurationName { get; set; } #Expected optional-content default configuration name.
public string? RequiredOptionalContentDefaultConfigurationCreator { get; set; } #Expected optional-content default configuration creator.
public string? RequiredOptionalContentBaseState { get; set; } #Expected optional-content default configuration base state.
public int? RequiredOptionalContentGroupCountAtLeast { get; set; } #Minimum optional-content group count required in the generated PDF.
public string? RequiredXmpTitle { get; set; } #Expected XMP Dublin Core title.
public string? RequiredXmpCreator { get; set; } #Expected XMP Dublin Core creator.
public string? RequiredXmpDescription { get; set; } #Expected XMP Dublin Core description.
public string? RequiredXmpProducer { get; set; } #Expected XMP PDF producer metadata.
public string? RequiredXmpKeywords { get; set; } #Expected XMP PDF keywords metadata.
public int? RequiredXmpPdfAPart { get; set; } #Expected XMP PDF/A identification part.
public string? RequiredXmpPdfAConformance { get; set; } #Expected XMP PDF/A identification conformance.
public int? RequiredXmpPdfUaPart { get; set; } #Expected XMP PDF/UA identification part.
public int? RequiredTaggedStructureElementCountAtLeast { get; set; } #Minimum tagged-PDF structure element count required in the generated PDF.
public int? RequiredTaggedMarkedContentReferencesAtLeast { get; set; } #Minimum tagged-PDF marked-content reference count required in the generated PDF.
public IList<string> RequiredTextMarkers { get; } #Text markers that must be extractable from the generated PDF.
public IList<string> RequiredLogicalSignals { get; } #Logical readback signals that must be present in the generated PDF.
public IList<string> RequiredOutlineTitles { get; } #PDF outline/bookmark titles that must be present in the generated PDF.
public IList<string> RequiredLinkUris { get; } #URI link targets that must be present in the generated PDF.
public IList<string> RequiredFormFieldNames { get; } #AcroForm field names that must be present in the generated PDF.
public IList<string> RequiredNamedDestinationNames { get; } #Named destinations that must be present in the generated PDF catalog.
public IList<PdfPageLabelRange> RequiredPageLabelRanges { get; } #Page-label ranges that must be present in the generated PDF catalog.
public IList<string> RequiredAttachmentFileNames { get; } #Embedded or associated file names that must be present in the generated PDF catalog.
public IList<string> RequiredOutputIntentSubtypes { get; } #Output intent subtypes that must be present in the generated PDF catalog.
public IList<string> RequiredOutputConditionIdentifiers { get; } #Output condition identifiers that must be present in the generated PDF catalog.
public IList<string> RequiredOptionalContentGroupNames { get; } #Optional-content/layer group names that must be present in the generated PDF catalog.
public IList<string> RequiredOptionalContentVisibleGroupNames { get; } #Optional-content/layer group names that must initially be visible.
public IList<string> RequiredOptionalContentLockedGroupNames { get; } #Optional-content/layer group names that must be locked in the default configuration.
public IList<string> RequiredOptionalContentOrderedGroupNames { get; } #Optional-content/layer group names that must appear in the default configuration order.
public IList<string> RequiredXmpSubjects { get; } #XMP Dublin Core subjects that must be present in the generated PDF catalog metadata.
public IList<string> RequiredTaggedStructureTypes { get; } #Tagged-PDF structure types that must be present in the generated PDF structure tree.
public IDictionary<string, string> RequiredViewerPreferences { get; } #Viewer preference values that must be present in the generated PDF catalog.
public IList<string> RequiredWarningCodes { get; } #Stable warning codes that must be present in the captured conversion report.
public IList<string> RequiredWarningSources { get; } #Warning source labels that must be present in the captured conversion report.
public ISet<string> AcceptedWarningCodes { get; } #Stable warning codes accepted by this proof contract when unexpected warnings are rejected.