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
widthintin The new width, in pixels.heightintin The new height, in pixels.dst_document_imageDocumentImagein 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
widthintin The new width, in pixels.heightintin The new height, in pixels.dstDocumentImageDocumentImagein 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
widthintin The new width, in pixels.heightintin The new height, in pixels.dstDocumentImageDocumentImagein 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
widthintin The new width, in pixels.heightintin The new height, in pixels.dstDocumentImageDocumentImagein 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
widthInt32in The new width, in pixels.heightInt32in The new height, in pixels.dstDocumentImageDocumentImagein 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
hDocumentImageID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.widthintin The new width, in pixels.heightintin The new height, in pixels.hDstDocumentImageID3_DOCUMENT_IMAGEin The destination image that receives the resized image.
Returns