DocumentUpdateThumbnail Method
Updates Thumbnail of the document using default options.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.11
Syntax
public void UpdateThumbnail()
Examples
Shows how to update a document's thumbnail.
Document doc = new Document();

// Update document's thumbnail the default way. 
doc.UpdateThumbnail();

// Review/change thumbnail options and then update document's thumbnail.
ThumbnailGeneratingOptions tgo = new ThumbnailGeneratingOptions();

Console.WriteLine("Thumbnail size: {0}", tgo.ThumbnailSize);
tgo.GenerateFromFirstPage = true;

doc.UpdateThumbnail(tgo);
See Also