public class ThumbnailGeneratingOptions
extends java.lang.Object
Document.updateThumbnail(com.aspose.words.ThumbnailGeneratingOptions) to generate BuiltInDocumentProperties.getThumbnail() / BuiltInDocumentProperties.setThumbnail(byte[]) for a document.| Modifier and Type | Method and Description |
|---|---|
boolean |
getGenerateFromFirstPage()
Specifies whether to generate thumbnail from first page of the document or first image.
|
java.awt.Dimension |
getThumbnailSize()
Size of generated thumbnail in pixels.
|
void |
setGenerateFromFirstPage(boolean value)
Specifies whether to generate thumbnail from first page of the document or first image.
|
void |
setThumbnailSize(java.awt.Dimension value)
Size of generated thumbnail in pixels.
|
public boolean getGenerateFromFirstPage()
true, which means thumbnail will be generated from first page of the document. If value is false and there is no image in the document, thumbnail will be generated from first page of the document.boolean value.public void setGenerateFromFirstPage(boolean value)
true, which means thumbnail will be generated from first page of the document. If value is false and there is no image in the document, thumbnail will be generated from first page of the document.value - The corresponding boolean value.public java.awt.Dimension getThumbnailSize()
Dimension value.public void setThumbnailSize(java.awt.Dimension value)
value - The corresponding Dimension value.