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

# DocumentImage.clone Method

Module: DocumentImage

## Definition

Clones the DocumentImage object.

Python

    clone(self) -> DocumentImage

Returns

> DocumentImage
> The newly created document image.

Exceptions

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

Dart

    DocumentImage clone()

Returns

> DocumentImage
> The newly created document image.

Exceptions

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

C#

    public DocumentImage Clone()

Returns

> DocumentImage
> The newly created document image.

Exceptions

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

Java

    public DocumentImage clone() throws DocumentException

Returns

> DocumentImage
> The newly created document image.

Exceptions

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

Swift

    public func clone() throws -> DocumentImage

Returns

> DocumentImage
> The newly created document image.

Exceptions

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

C

    int id3DocumentImage_CopyTo (
        ID3_DOCUMENT_IMAGE hDocumentImage,
        ID3_DOCUMENT_IMAGE hDocumentImageDst)

Parameters

> `hDocumentImage` ID3_DOCUMENT_IMAGE
> in Handle to the DocumentImage object.
> `hDocumentImageDst` ID3_DOCUMENT_IMAGE
> out The newly created document image.

Returns

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