EvinceView.JobThumbnail¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
format |
r |
||
has_frame |
r |
||
page |
r |
||
parent |
r |
||
rotation |
r |
||
scale |
r |
||
target_height |
r |
||
target_width |
r |
||
thumbnail |
r |
||
thumbnail_surface |
r |
Class Details¶
- class EvinceView.JobThumbnail(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(document, page, rotation, scale)¶
- Parameters:
document (
EvinceDocument.Document
) –page (
int
) –rotation (
int
) –scale (
float
) –
- Return type:
- classmethod new_with_target_size(document, page, rotation, target_width, target_height)¶
- Parameters:
document (
EvinceDocument.Document
) –page (
int
) –rotation (
int
) –target_width (
int
) –target_height (
int
) –
- Return type:
- set_output_format(format)¶
- Parameters:
format (
EvinceView.JobThumbnailFormat
) – aEvinceView.JobThumbnailFormat
Set the desired output format for the generated thumbnail
New in version 3.14.