VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / GetThumbnail Methods / GetThumbnail(Int32,Int32,PdfRenderingSettings) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    GetThumbnail(Int32,Int32,PdfRenderingSettings) Method (PdfPage)
    In This Topic
    Returns thumbnail of this page.
    Syntax
    'Declaration
    
    Public Overloads Function GetThumbnail( _
    ByVal width
    Thumbnail width.
    As System.Int32, _
    ByVal height
    Thumbnail height.
    As System.Int32, _
    ByVal renderingSettings
    Rendering settings.
    As Vintasoft.Imaging.Codecs.Decoders.PdfRenderingSettings _
    ) As Vintasoft.Imaging.VintasoftImage

    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 UseEmbeddedThumbnails is false.
    This method will use embedded thumbnail if 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 UseEmbeddedThumbnails is true and there is no embedded thumbnail or size of embedded thumbnail is less than the necessary thumbnail size.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also