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
intin The new width, in pixels.height
intin The new height, in pixels.dst_document_image
DocumentImagein 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
intin The new width, in pixels.height
intin The new height, in pixels.dstDocumentImage
DocumentImagein 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
intin The new width, in pixels.height
intin The new height, in pixels.dstDocumentImage
DocumentImagein 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
intin The new width, in pixels.height
intin The new height, in pixels.dstDocumentImage
DocumentImagein 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
Int32in The new width, in pixels.height
Int32in The new height, in pixels.dstDocumentImage
DocumentImagein 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_IMAGEin Handle to the DocumentImage object.width
intin The new width, in pixels.height
intin The new height, in pixels.hDstDocumentImage
ID3_DOCUMENT_IMAGEin The destination image that receives the resized image.
Returns