Table of Contents

Class PdfAssemblyResult

Namespace
DocWright.Formats.Pdf
Assembly
DocWright.Formats.Pdf.dll

What a page assembly produced, and everything it could not carry.

public sealed class PdfAssemblyResult
Inheritance
PdfAssemblyResult
Inherited Members

Remarks

Every loss is counted here as well as reported as a diagnostic, so that a caller can ask "did I lose anything?" by reading a property rather than by parsing diagnostic messages. A message is for a person; a count is for a program, and a program that has to match on message text is one release away from breaking.

Properties

BytesWritten

Gets the size of the assembled file in bytes.

DroppedDocumentEntries

Gets the document-level entries that were not carried, without their leading solidus — for example OpenAction, OCProperties or Info.

EncryptionRemoved

Gets true when a source was encrypted and the output is not.

FormDropped

Gets true when an interactive form was not carried into the output.

HasLosses

Gets true when anything at all could not be carried into the output.

PageCount

Gets the number of pages in the assembled document.

RemovedDestinationCount

Gets the number of links, named destinations and open actions removed because the page they named is not in the output.

RemovedOutlineEntryCount

Gets the number of outline entries (bookmarks) removed because their destination page is not in the output and no surviving entry sits below them.

SourceCount

Gets the number of documents that contributed pages.

StructureTreeDropped

Gets true when a source carried a structure tree (tagged PDF) that the output does not.