Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DetectedDocument.clone Method

Module: DetectedDocument

## Definition

Clones the DetectedDocument object.

Python

    clone(self) -> DetectedDocument

Returns

> DetectedDocument
> The newly created detected document.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    DetectedDocument clone()

Returns

> DetectedDocument
> The newly created detected document.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public DetectedDocument Clone()

Returns

> DetectedDocument
> The newly created detected document.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public DetectedDocument clone() throws DocumentException

Returns

> DetectedDocument
> The newly created detected document.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public func clone() throws -> DetectedDocument

Returns

> DetectedDocument
> The newly created detected document.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DetectedDocument_CopyTo (
        ID3_DETECTED_DOCUMENT hDetectedDocument,
        ID3_DETECTED_DOCUMENT hDetectedDocumentDst)

Parameters

> `hDetectedDocument` ID3_DETECTED_DOCUMENT
> in Handle to the DetectedDocument object.
> `hDetectedDocumentDst` ID3_DETECTED_DOCUMENT
> out The newly created detected document.

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.