Cuminas DjVu SDK for .NET Framework
GenerateThumbnail(Int32,Boolean) Method



Size of the thumbnail in pixels. If you specify X, it generates a thumbnail which fit into the square of X by X.
true to regenerate the thumbnail even if the page already has one; otherwise if the page has a thumbnail already, the method does nothing.
Generates thumbnail for the page.
Syntax
Public Overloads Sub GenerateThumbnail( _
   ByVal size As Integer, _
   ByVal forceCreate As Boolean _
) 
Dim instance As Page
Dim size As Integer
Dim forceCreate As Boolean
 
instance.GenerateThumbnail(size, forceCreate)
public void GenerateThumbnail( 
   int size,
   bool forceCreate
)
public:
void GenerateThumbnail( 
   int size,
   bool forceCreate
) 

Parameters

size
Size of the thumbnail in pixels. If you specify X, it generates a thumbnail which fit into the square of X by X.
forceCreate
true to regenerate the thumbnail even if the page already has one; otherwise if the page has a thumbnail already, the method does nothing.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Page Class
Page Members
Overload List

Send Feedback