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

# ImageBuffer.clone Method

Module: ImageBuffer

## Definition

Clones the ImageBuffer object.

Python

    clone(self) -> ImageBuffer

Returns

> ImageBuffer
> The newly created image buffer.

Exceptions

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

Dart

    ImageBuffer clone()

Returns

> ImageBuffer
> The newly created image buffer.

Exceptions

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

C#

    public ImageBuffer Clone()

Returns

> ImageBuffer
> The newly created image buffer.

Exceptions

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

Java

    public ImageBuffer clone() throws DocumentException

Returns

> ImageBuffer
> The newly created image buffer.

Exceptions

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

Swift

    public func clone() throws -> ImageBuffer

Returns

> ImageBuffer
> The newly created image buffer.

Exceptions

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

C

    int id3DocumentImageBuffer_CopyTo (
        ID3_DOCUMENT_IMAGE_BUFFER hImageBuffer,
        ID3_DOCUMENT_IMAGE_BUFFER hImageBufferDst)

Parameters

> `hImageBuffer` ID3_DOCUMENT_IMAGE_BUFFER
> in Handle to the ImageBuffer object.
> `hImageBufferDst` ID3_DOCUMENT_IMAGE_BUFFER
> out The newly created image buffer.

Returns

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