DocumentImage.resizeTo Method

Module: DocumentImage

Definition

Resizes the image to the specified width and height.

resize_to(self, width: int, height: int, dst_document_image: DocumentImage) -> None

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dst_document_image DocumentImage
in The destination image that receives the resized image.

Exceptions

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

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dstDocumentImage DocumentImage
in The destination image that receives the resized image.

Exceptions

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

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dstDocumentImage DocumentImage
in The destination image that receives the resized image.

Exceptions

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

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dstDocumentImage DocumentImage
in The destination image that receives the resized image.

Exceptions

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

Parameters

width Int32
in The new width, in pixels.

height Int32
in The new height, in pixels.

dstDocumentImage DocumentImage
in The destination image that receives the resized image.

Exceptions

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

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.

hDstDocumentImage ID3_DOCUMENT_IMAGE
in The destination image that receives the resized image.

Returns

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