VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / GetThumbnail Method / GetThumbnail(Int32,Int32,PdfRenderingSettings) Method
Thumbnail width.
Thumbnail height.
Rendering settings.



In This Topic
    GetThumbnail(Int32,Int32,PdfRenderingSettings) Method
    In This Topic
    Returns thumbnail of this page.
    Syntax
    'Declaration
     
    Public Overloads Function GetThumbnail( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal renderingSettings As PdfRenderingSettings _
    ) As VintasoftImage
    public VintasoftImage GetThumbnail( 
       int width,
       int height,
       PdfRenderingSettings renderingSettings
    )
    public: VintasoftImage* GetThumbnail( 
       int width,
       int height,
       PdfRenderingSettings* renderingSettings
    ) 
    public:
    VintasoftImage^ GetThumbnail( 
       int width,
       int height,
       PdfRenderingSettings^ renderingSettings
    ) 

    Parameters

    width
    Thumbnail width.
    height
    Thumbnail height.
    renderingSettings
    Rendering settings.

    Return Value

    Thumbnail of this page.
    Remarks
    This method will always render thumbnail from page if Vintasoft.Imaging.Pdf.PdfRenderingSettings.UseEmbeddedThumbnails is false.
    This method will use embedded thumbnail if Vintasoft.Imaging.Pdf.PdfRenderingSettings.UseEmbeddedThumbnails is true and there is embedded thumbnail and size of embedded thumbnail is more or equal than the necessary thumbnail size.
    This method will render thumbnail from page if Vintasoft.Imaging.Pdf.PdfRenderingSettings.UseEmbeddedThumbnails is true and there is no embedded thumbnail or size of embedded thumbnail is less than the necessary thumbnail size.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also