Reports for WinForms | ComponentOne
C1.Win.C1Report.4 Assembly / C1.Win.C1Preview Namespace / C1PreviewThumbnailView Class / MakeThumbnail Method / MakeThumbnail(Image,Boolean,Size,Pen,Rectangle) Method
The page image.
Indicates whether to use image as thumbnail.
The size of the thumbnail image.
The pen used to draw page outline.
OUT: Rectangle within the thumbnail corresponding to the page bounds.

In This Topic
    MakeThumbnail(Image,Boolean,Size,Pen,Rectangle) Method
    In This Topic
    Makes the thumbnail of a page image.
    Syntax
    'Declaration
     
    Public Overloads Shared Function MakeThumbnail( _
       ByVal image As Image, _
       ByVal useImageAsThumbnail As Boolean, _
       ByVal size As Size, _
       ByVal outlinePen As Pen, _
       ByRef imageRectangle As Rectangle _
    ) As Image
    public static Image MakeThumbnail( 
       Image image,
       bool useImageAsThumbnail,
       Size size,
       Pen outlinePen,
       out Rectangle imageRectangle
    )

    Parameters

    image
    The page image.
    useImageAsThumbnail
    Indicates whether to use image as thumbnail.
    size
    The size of the thumbnail image.
    outlinePen
    The pen used to draw page outline.
    imageRectangle
    OUT: Rectangle within the thumbnail corresponding to the page bounds.

    Return Value

    The image representing the thumbnail.
    See Also