Rectangle.clipInsideImage Method¶
Module: Rectangle
Definition¶
Clip a rectangle to be fully inside an image.
clip_inside_image(self, image_width: int, image_height: int) -> None
Parameters
image_width
intin Width of the image.image_height
intin Height of the image.
Exceptions
An error has occurred during Document Library execution.
void clipInsideImage(int imageWidth, int imageHeight)
Parameters
imageWidth
intin Width of the image.imageHeight
intin Height of the image.
Exceptions
An error has occurred during Document Library execution.
public void ClipInsideImage(int imageWidth, int imageHeight)
Parameters
imageWidth
intin Width of the image.imageHeight
intin Height of the image.
Exceptions
An error has occurred during Document Library execution.
public void clipInsideImage(int imageWidth, int imageHeight) throws DocumentException
Parameters
imageWidth
intin Width of the image.imageHeight
intin Height of the image.
Exceptions
An error has occurred during Document Library execution.
public func clipInsideImage(imageWidth: Int32, imageHeight: Int32) throws
Parameters
imageWidth
Int32in Width of the image.imageHeight
Int32in Height of the image.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentRectangle_ClipInsideImage (
ID3_DOCUMENT_RECTANGLE hRectangle,
int imageWidth,
int imageHeight)
Parameters
hRectangle
ID3_DOCUMENT_RECTANGLEin Handle to the Rectangle object.imageWidth
intin Width of the image.imageHeight
intin Height of the image.
Returns