rvico TRichView Reference | TRichView | TRVRTFReaderProperties

TRVRTFReaderProperties.ErrorCode (read only)

Top  Previous  Next

Contains error code for the last RTF reading operation.

ErrorCode: 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)

    );


TRichView © trichview.com