DocumentImage.resize Method

Module: DocumentImage

Definition

Resizes the image in-place to the required width and height.

resize(self, width: int, height: int) -> None

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Document Library execution.
void resize(int width, int height)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Document Library execution.
public void Resize(int width, int height)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Document Library execution.
public void resize(int width, int height) throws DocumentException

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Document Library execution.
public func resize(width: Int32, height: Int32) throws

Parameters

width Int32
in The new width, in pixels.

height Int32
in The new height, in pixels.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentImage_Resize (
    ID3_DOCUMENT_IMAGE hDocumentImage,
    int width,
    int height)

Parameters

hDocumentImage ID3_DOCUMENT_IMAGE
in Handle to the DocumentImage object.

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Returns

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