PrintDocument for WinForms
MakeThumbnail(Image,Boolean,Size,Pen,Rectangle) メソッド


C1.Win.PrintPreview.6 アセンブリ > C1.Win.C1Preview 名前空間 > C1PreviewThumbnailView クラス > MakeThumbnail メソッド : MakeThumbnail(Image,Boolean,Size,Pen,Rectangle) メソッド
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.
Makes the thumbnail of a page image.
シンタックス
'宣言
 
Public Overloads Shared Function MakeThumbnail( _
   ByVal image As System.Drawing.Image, _
   ByVal useImageAsThumbnail As System.Boolean, _
   ByVal size As System.Drawing.Size, _
   ByVal outlinePen As System.Drawing.Pen, _
   ByRef imageRectangle As System.Drawing.Rectangle _
) As System.Drawing.Image
'使用法
 
Dim image As System.Drawing.Image
Dim useImageAsThumbnail As System.Boolean
Dim size As System.Drawing.Size
Dim outlinePen As System.Drawing.Pen
Dim imageRectangle As System.Drawing.Rectangle
Dim value As System.Drawing.Image
 
value = C1PreviewThumbnailView.MakeThumbnail(image, useImageAsThumbnail, size, outlinePen, imageRectangle)
public static System.Drawing.Image MakeThumbnail( 
   System.Drawing.Image image,
   System.bool useImageAsThumbnail,
   System.Drawing.Size size,
   System.Drawing.Pen outlinePen,
   out System.Drawing.Rectangle imageRectangle
)

パラメータ

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.

戻り値の型

The image representing the thumbnail.
参照

C1PreviewThumbnailView クラス
C1PreviewThumbnailView メンバ
オーバーロード一覧