get_thumbnail method

get_thumbnail

Returns a Thumbnail Image object (20% of real size).

def get_thumbnail(self):
    ...

get_thumbnail

Returns a Thumbnail Bitmap object.

Returns

Bitmap objects.

def get_thumbnail(self, options):
    ...
ParameterTypeDescription
optionsIRenderingOptionsRendering options.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

get_thumbnail

Returns a Thumbnail Bitmap object with specified size.

Returns

Bitmap object.

def get_thumbnail(self, image_size):
    ...
ParameterTypeDescription
image_sizeaspose.pydrawing.SizeSize of the image to create.

get_thumbnail

Returns a Thumbnail tiff bitmap object with specified parameters.

Returns

Bitmap object.

def get_thumbnail(self, options):
    ...
ParameterTypeDescription
optionsITiffOptionsTiff options.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when options.NotesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull.

get_thumbnail

Returns a Thumbnail Bitmap object with custom scaling.

Returns

Bitmap object.

def get_thumbnail(self, scale_x, scale_y):
    ...
ParameterTypeDescription
scale_xfloatThe value by which to scale this Thumbnail in the x-axis direction.
scale_yfloatThe value by which to scale this Thumbnail in the y-axis direction.

get_thumbnail

Returns a Thumbnail Bitmap object with specified size.

Returns

Bitmap objects.

def get_thumbnail(self, options, image_size):
    ...
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
image_sizeaspose.pydrawing.SizeSize of the image to create.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when options.NotesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

get_thumbnail

Returns a Thumbnail Bitmap object with custom scaling.

Returns

Bitmap objects.

def get_thumbnail(self, options, scale_x, scale_y):
    ...
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
scale_xfloatThe value by which to scale this Thumbnail in the x-axis direction.
scale_yfloatThe value by which to scale this Thumbnail in the y-axis direction.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

See Also