THPDFRTFImportStatus Type

Reports how an RTF import finished, including which guard rail brought it to a halt

Declaration

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

Unit

HPDFDoc

Values

ValuePurpose
risSuccessThe RTF source was converted in full and the resulting pages were added
risInvalidInputThe RTF source is empty or cannot be read as RTF
risDocumentNotReadyThe target document was not in a state able to accept imported pages
risWrongThreadThe import was called from a thread unable to run the VCL-based converter
risInputLimitThe source went past MaxInputBytes from THPDFRTFImportOptions
risCharacterLimitThe source went past the MaxCharacters limit
risPageLimitThe converted output went past the MaxPages limit
risMetafileLimitA metafile embedded in the RTF went past MaxMetafileBytes
risCancelledThe caller-supplied cancellation token fired whilst conversion was under way
risNoProgressMetafile playback stopped making forward progress and the import gave up
risRenderErrorThe metafile-to-page rendering step did not succeed

Usage notes

Related APIs