TdxPDFViewerSelection.AsBitmap Method
In This Article
Returns the PDF document selection as a bitmap.
#Declaration
Delphi
function AsBitmap: TBitmap;
#Returns
Type |
---|
TBitmap |
#Remarks
Call this function to obtain the currently selected image as a TBitmap object.
The AsBitmap function returns nil if one of the following conditions is met:
The document selection is empty;
A text is selected;
The content extraction operations are forbidden for the loaded document (i.e., the document’s AllowContentExtraction property returns False).
See Also