THotPDF.AddMonochromeImageAuto Method
Method summary: THotPDF.AddMonochromeImageAuto Method
Declaration
function AddMonochromeImageAuto(Image: TGraphic): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Image | Graphic object used as the monochrome image source |
Return value
Image resource index for the monochrome image
Usage notes
- Use this API for black-and-white source images such as scanned masks or line art
- The returned image index can be drawn with the normal image placement APIs
Related APIs
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents