www.gnostice.com 

 

DrawJPEGDirect procedure (TgtCustomDocumentEngine)

TgtCustomDocumentEngine

Top 

Used to insert a JPEG image directly into the document.

 

procedure DrawJPEGDirect(ARect: TgtRect; AImagePixelWidth, AImagePixelHeight: Integer; AStream: TStream); virtual; overload; 

procedure DrawJPEGDirect(ImageRect: TgtRect; AGraphic: TGraphic); virtual; overload; 

 

Description

Call DrawJPEGDirect with ARect, actual image width and height in pixels, along with the image stream to draw the JPEG image at a location specified by the ARect.

 

Call DrawJPEGDirect with ImageRect and a graphic to draw the JPEG image at a location specified by the ImageRect.

 

NOTE: Methods available only for TgtPDFEngine. (Professional and Standard editions)