Add a listener that will be called when a ReaderViewProperty has changed.
Get the page dimensions that should be used for the renderable in CSS pixels.
Should be passed if the document is fixed layout.
The constrained page dimensions, or null if the renderer has already been detached.
Get the scale factor between document dimensions and the constrained page dimensions
Get the IRenderableDocumentPageStream this context is associated with if any.
Get rhe ReaderView which will consume the resulting IRenderableDocumentPage
Get the current ReaderView options.
Get the current value of the specified ReaderView property
Get the renderer connected with this context.
Get the renderer runtime connected with this context.
Get the id of the current rendering session. This id is generated once per call to IRenderer.attach()
If this rendering task has been canceled. The format adapter implementation can safely abort the operation by rejecting the resulting Promise.
Should be called by the RenderablePage implementation when the text selection changes. This will cause a clearContentSelection ReaderViewProperty event to be emitted to clear selection in other pages.
Remove a listener that was previously added with addViewPropertyChangedListener().
Generated using TypeDoc
Passed to format adapter implementation of IReaderDocument.createRenderableDocument() and createRenderableDocumentPageIterator() containing necessary context for those operations.