'Declaration
Public Overloads Function CreateThumbnailHQ( _ ByVal Stream As Stream, _ ByVal Width As Integer, _ ByVal Height As Integer, _ ByVal BackColor As Integer _ ) As Integer
public function CreateThumbnailHQ( Stream: Stream; Width: Integer; Height: Integer; BackColor: Integer ): Integer;
Parameters
- Stream
- System.IO.Stream object storing the image data.
- Width
- The width of the thumbnail to create. Use 0 to keep the embedded thumbnail width, if available, otherwise uses the initial bitmap width.
- Height
- The height of the thumbnail to create. Use 0 to keep the embedded thumbnail height, if available, otherwise uses the initial bitmap height.
- BackColor
- A suitable color value can be obtained by using the ARGBI() method. The background color of the thumbnail if width and height parameters are provided.
Return Value
GdPicture image identifier. The thumbnail Image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.