# getCorrelationScore method

double getCorrelationScore()

Gets the correlation of the variation to the background.

return Correlation of the variation to the background. throws DocumentException An error has occurred during Document Library execution.

## Implementation

    double getCorrelationScore() {
      Pointer<Float> pCorrelationScore = calloc();
      try {
        var err = documentSDK.id3DocumentHologramAuthenticationResult_GetCorrelationScore(_pHandle.value, pCorrelationScore);
        if (err != DocumentError.success.value) {
          throw DocumentException(err);
        }
        final vCorrelationScore = pCorrelationScore.value;
        return vCorrelationScore;
      } finally {
        calloc.free(pCorrelationScore);
      }
    }