VintaSoft Imaging .NET SDK 10.0
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / CreateThumbnail Method
Thumbnail width.
Thumbnail height.
Rendering settings.
Compression type of the image resource.
Compression settings of the thumbnail resource.



In This Topic
    CreateThumbnail Method (PdfPage)
    In This Topic
    Creates the thumbnail for this page.
    Syntax
    'Declaration
     
    Public Sub CreateThumbnail( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal renderingSettings As PdfRenderingSettings, _
       ByVal compression As PdfCompression, _
       ByVal compressionSettings As PdfCompressionSettings _
    ) 

    Parameters

    width
    Thumbnail width.
    height
    Thumbnail height.
    renderingSettings
    Rendering settings.
    compression
    Compression type of the image resource.
    compressionSettings
    Compression settings of the thumbnail resource.
    Remarks
    This method creates the thumbnail of specified size and saves the thumbnail in PDF document as a resource.
    Requirements

    Target Platforms: .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also