GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / CreateThumbnailHQ Method / CreateThumbnailHQ(Int32,Int32,Int32,Color,Int32,Boolean,Boolean) Method
GdPicture image identifier. The image from which the HQ thumbnail must be created.
The width of the thumbnail to create.
The height of the thumbnail to create.
Background color of the thumbnail. A suitable color value can be obtained by using the ARGB() method.
The page number to render, in the range [1 - PageCount]. Use 0 to render the currently selected page.
Specifies if GdPicture/XMP annotations must be rendered on the thumbnail.
Specifies if the generated thumbnail must be rotated according the internal ExifRotate tag.





In This Topic
CreateThumbnailHQ(Int32,Int32,Int32,Color,Int32,Boolean,Boolean) Method
In This Topic
Creates a High Quality thumbnail of custom size from a GdPicture image. This method fits the image thumbnail within a rectangle of specified dimensions having a specified background color.
Syntax
'Declaration
 
Public Overloads Function CreateThumbnailHQ( _
   ByVal ImageID As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer, _
   ByVal BackColor As Color, _
   ByVal PageNo As Integer, _
   ByVal BurnXMPAnnotations As Boolean, _
   ByVal RotateExif As Boolean _
) As Integer
public int CreateThumbnailHQ( 
   int ImageID,
   int Width,
   int Height,
   Color BackColor,
   int PageNo,
   bool BurnXMPAnnotations,
   bool RotateExif
)
public function CreateThumbnailHQ( 
    ImageID: Integer;
    Width: Integer;
    Height: Integer;
    BackColor: Color;
    PageNo: Integer;
    BurnXMPAnnotations: Boolean;
    RotateExif: Boolean
): Integer; 
public function CreateThumbnailHQ( 
   ImageID : int,
   Width : int,
   Height : int,
   BackColor : Color,
   PageNo : int,
   BurnXMPAnnotations : boolean,
   RotateExif : boolean
) : int;
public: int CreateThumbnailHQ( 
   int ImageID,
   int Width,
   int Height,
   Color BackColor,
   int PageNo,
   bool BurnXMPAnnotations,
   bool RotateExif
) 
public:
int CreateThumbnailHQ( 
   int ImageID,
   int Width,
   int Height,
   Color BackColor,
   int PageNo,
   bool BurnXMPAnnotations,
   bool RotateExif
) 

Parameters

ImageID
GdPicture image identifier. The image from which the HQ thumbnail must be created.
Width
The width of the thumbnail to create.
Height
The height of the thumbnail to create.
BackColor
Background color of the thumbnail. A suitable color value can be obtained by using the ARGB() method.
PageNo
The page number to render, in the range [1 - PageCount]. Use 0 to render the currently selected page.
BurnXMPAnnotations
Specifies if GdPicture/XMP annotations must be rendered on the thumbnail.
RotateExif
Specifies if the generated thumbnail must be rotated according the internal ExifRotate tag.

Return Value

GdPicture image identifier. The thumbnail Image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.
Remarks

This method requires the Image Documents component to run.

See Also