TRVRTFReaderProperties.RTFErrorCode (read only)

<< Click to display table of contents >>

TRVRTFReaderProperties.RTFErrorCode (read only)

Contains error code for the last RTF reading operation.

RTFErrorCode: TRVRTFErrorCode;

 

type // defined in RVRTFErr unit.

  TRVRTFErrorCode = (

    rtf_ec_OK,             // No error

    rtf_ec_StackUnderflow, // Unmatched '}'

    rtf_ec_StackOverflow,  // Too many '{' -- memory exhausted

    rtf_ec_UnmatchedBrace, // RTF ended during an open group.

    rtf_ec_InvalidHex,     // Invalid hex character found in data

    rtf_ec_BadTable,       // RTF table invalid (internal parser error)

    rtf_ec_Assertion,      // Assertion failure (internal parser error)

    rtf_ec_EndOfFile,      // End of file reached while reading RTF

    rtf_ec_FileOpenError,  // Parser cannot open input file

    rtf_ec_Exception,      // Exception (internal parser error)

    rtf_ec_InvalidPicture, // Invalid picture in RTF

    rtf_ec_Aborted         // (internal parser error)

    );

 

See also:

DocXErrorCode