Click or drag to resize

StructureRepairOptions Class

StructureRepairOptions describe options for repairing gross structural problems in a PDF document. These problems are usually encountered early in working with the document and require rewriting the document.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.RepairStructureRepairOptions

Namespace:  Atalasoft.PdfDoc.Repair
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class StructureRepairOptions

The StructureRepairOptions type exposes the following members.

Constructors
  NameDescription
Public methodStructureRepairOptions
Initializes a new instance of the StructureRepairOptions class. This creates a default StructureRepairOptions object with the StoredStreamProvider set to a TempFileStreamProvider.
Top
Properties
  NameDescription
Public propertyAllowPartialNameTrees
Gets or sets a value indicating whether to allow partial name trees.
Public propertyCorrectInvalidDataStreamLengths
Gets or sets a value indicating whether DotPdf will correct invalid data stream lengths.
Public propertyCreateBlankPageIfNoPagesFound
Gets or sets a value indicating whether to create blank page if no pages were found in the PDF.
Public propertyDestinationAction
Gets or sets the destination action for repairing a bad destination
Public propertyDuplicateNameTreeEntryRepairAction
Gets or sets the name tree repair action. When a duplicate name is found in a name tree, this will be used to decide the action for that item. If an empty or null name is found, any value except for None will cause the value to be either renamed or discarded.
Public propertyNameSelector
Gets or sets the name selector.
Public propertyRebuildCrossReferenceTable
Gets or sets a value indicating whether to rebuild a damaged cross reference table.
Public propertyRepairedStoredStream
Gets the stored stream that was used for the repaired file. If, after repair, this property is non-null, the owning document should be saved to a new file and this object should be disposed.
Public propertyRepairNameTrees
Gets or sets a value indicating whether DotPdf will repair name trees.
Public propertyRestoreOrphanedPages
Gets or sets a value indicating whether pages no longer directly referenced by the PDF document will be restored to the document.
Public propertyStoredStreamProvider
Gets or sets the stored stream provider that will be used for creating a temporary file for storing the new PDF with the repaired cross reference table.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also