ErrorCheck Method (IDocument)

ErrorCheck Method (IDocument) | Send Feedback
See Also

FixErrors
  True to fix errors, false to not

ProcessedEntitiesNumber[out]
  Number of entities that were processed

ErrorsNumber[out]
  Number of errors found

FixedErrorsNumber[out]
  Number of errors fixed

ReportStrArray[out]
  Array of strings of the error messages

Checks the integrity of this document and optionally corrects errors.

# Syntax

Visual Basic |
--- | ---
    Sub ErrorCheck( _
       ByVal FixErrors As System.Boolean, _
       ByRef ProcessedEntitiesNumber As System.Integer, _
       ByRef ErrorsNumber As System.Integer, _
       ByRef FixedErrorsNumber As System.Integer, _
       ByRef ReportStrArray As System.Object _
    )

C# |
--- | ---
    void ErrorCheck(
       System.bool FixErrors,
       out System.int ProcessedEntitiesNumber,
       out System.int ErrorsNumber,
       out System.int FixedErrorsNumber,
       out System.object ReportStrArray
    )

JavaScript |
--- | ---
    ErrorCheck(
       FixErrors : Boolean
    ) : {
       ProcessedEntitiesNumber : Number,
       ErrorsNumber : Number,
       FixedErrorsNumber : Number,
       ReportStrArray : Array
    }

COM native C++ |
--- | ---
    HRESULT ErrorCheck(
       VARIANT_BOOL FixErrors,
       LONG* ProcessedEntitiesNumber,
       LONG* ErrorsNumber,
       LONG* FixedErrorsNumber,
       VARIANT* ReportStrArray
    )

C++ |
--- | ---
    DSRESULT ErrorCheck(
       bool FixErrors,
       long* ProcessedEntitiesNumber,
       long* ErrorsNumber,
       long* FixedErrorsNumber,
       dsStringArray* ReportStrArray
    )

#### Parameters

FixErrors
  True to fix errors, false to not
ProcessedEntitiesNumber[out]
  Number of entities that were processed
ErrorsNumber[out]
  Number of errors found
FixedErrorsNumber[out]
  Number of errors fixed
ReportStrArray[out] or Return Value
  Array of strings of the error messages

# See Also

####

IDocument Interface
IDocument Members

# Availability

DraftSight V1R1.4