Class
PublisherDocumentReaderExtensions
OfficeIMO.Reader.Publisher
Projects a loaded Publisher document into the shared Reader model.
Inheritance
- object
- PublisherDocumentReaderExtensions
Methods
public static OfficeDocumentReadResult ToOfficeDocumentReadResult(PublisherDocument document, string? sourceName = null, ReaderOptions? readerOptions = null, ReaderPublisherOptions? publisherOptions = null, CancellationToken cancellationToken = default) #Reads the document's current stories, tables, page inventory and requested image payloads.
Parameters
- document OfficeIMO.Publisher.PublisherDocument
- The caller-owned document, including any in-memory edits.
- sourceName string? = null
- Logical citation name. Omitted names use document.pub.
- readerOptions OfficeIMO.Reader.ReaderOptions? = null
- Projection and output budgets, copied for this operation.
- publisherOptions OfficeIMO.Reader.Publisher.ReaderPublisherOptions? = null
- Publisher semantic projection settings, copied for this operation.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation for the projection.
Returns
OfficeDocumentReadResult