[]
        
(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)
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)
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)
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)
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.