THPDFRTFImportStatus Type

Reports how an RTF import finished, including the guard rail that stopped it

Declaration

THPDFRTFImportStatus= (risSuccess, risInvalidInput,
  risDocumentNotReady, risWrongThread, risInputLimit,
  risCharacterLimit, risPageLimit, risMetafileLimit,
  risCancelled, risNoProgress, risRenderError);

Unit

HPDFDoc

Values

ValuePurpose
risSuccessThe RTF source was fully converted and the resulting pages were added
risInvalidInputThe RTF source is empty or cannot be parsed as RTF
risDocumentNotReadyThe target document was not in a state that accepts imported pages
risWrongThreadThe import was called from a thread that cannot run the VCL-based converter
risInputLimitThe source exceeded MaxInputBytes from THPDFRTFImportOptions
risCharacterLimitThe source exceeded the MaxCharacters limit
risPageLimitThe converted output exceeded the MaxPages limit
risMetafileLimitRendering the next page would take the combined size of the page metafiles past MaxMetafileBytes, or a page metafile could not be read; the pages rendered so far are kept
risCancelledThe caller-supplied cancellation token fired during conversion
risNoProgressMetafile playback stopped making forward progress and the import aborted
risRenderErrorThe metafile-to-page rendering step failed

Usage notes

Related APIs