[]
        
(Showing Draft Content)

C1.Win.C1Preview.C1PreviewThumbnailView.MakeThumbnail

MakeThumbnail Method

MakeThumbnail(Image, out Rectangle)

Makes the thumbnail of a page image.

Declaration
public Image MakeThumbnail(Image image, out Rectangle pageRectangleInThumb)
Public Function MakeThumbnail(image As Image, ByRef pageRectangleInThumb As Rectangle) As Image
Parameters
Type Name Description
Image image

The page image.

Rectangle pageRectangleInThumb

OUT: Rectangle within the thumbnail corresponding to the page bounds.

Returns
Type Description
Image

The image representing the thumbnail.

MakeThumbnail(Image)

Makes the thumbnail of a page image.

Declaration
public Image MakeThumbnail(Image image)
Public Function MakeThumbnail(image As Image) As Image
Parameters
Type Name Description
Image image

The page image.

Returns
Type Description
Image

The image representing the thumbnail.

MakeThumbnail(Image, Size, Pen)

Makes the thumbnail of a page image.

Declaration
public static Image MakeThumbnail(Image image, Size size, Pen outlinePen)
Public Shared Function MakeThumbnail(image As Image, size As Size, outlinePen As Pen) As Image
Parameters
Type Name Description
Image image

The page image.

Size size

The size of the thumbnail image.

Pen outlinePen

The pen used to draw page outline.

Returns
Type Description
Image

The image representing the thumbnail.

MakeThumbnail(Image, bool, Size, Pen, out Rectangle)

Makes the thumbnail of a page image.

Declaration
public static Image MakeThumbnail(Image image, bool useImageAsThumbnail, Size size, Pen outlinePen, out Rectangle imageRectangle)
Public Shared Function MakeThumbnail(image As Image, useImageAsThumbnail As Boolean, size As Size, outlinePen As Pen, ByRef imageRectangle As Rectangle) As Image
Parameters
Type Name Description
Image image

The page image.

bool useImageAsThumbnail

Indicates whether to use image as thumbnail.

Size size

The size of the thumbnail image.

Pen outlinePen

The pen used to draw page outline.

Rectangle imageRectangle

OUT: Rectangle within the thumbnail corresponding to the page bounds.

Returns
Type Description
Image

The image representing the thumbnail.