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
risMetafileLimitA metafile embedded in the RTF exceeded MaxMetafileBytes
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