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



In This Topic
    GetThumbnail(Int32,Int32,PdfRenderingSettings,DecodingSettings) 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, _
       ByVal decodingSettings As DecodingSettings _
    ) As VintasoftImage

    Parameters

    width
    Thumbnail width.
    height
    Thumbnail height.
    renderingSettings
    Rendering settings.
    decodingSettings
    Decoding 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