DocumentImage.reallocate Method¶
Module: DocumentImage
Definition¶
Reallocates the internal memory of the Image from parameters.
Note
If the given parameters are the same as the ones of the object, then there is nothing done in this function.
reallocate(self, width: int, height: int, pixel_format: PixelFormat) -> None
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixel_format
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Document Library execution.
void reallocate(int width, int height, PixelFormat pixelFormat)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Document Library execution.
public void Reallocate(int width, int height, PixelFormat pixelFormat)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Document Library execution.
public void reallocate(int width, int height, PixelFormat pixelFormat) throws DocumentException
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Document Library execution.
public func reallocate(width: Int32, height: Int32, pixelFormat: PixelFormat) throws
Parameters
width
Int32in The new width, in pixels.height
Int32in The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentImage_Reallocate (
ID3_DOCUMENT_IMAGE hDocumentImage,
int width,
int height,
id3DocumentPixelFormat ePixelFormat)
Parameters
hDocumentImage
ID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.width
intin The new width, in pixels.height
intin The new height, in pixels.ePixelFormat
id3DocumentPixelFormatin The new pixel format.
Returns