ConvertToImage(Double,PDFSearchTextResultCollection,Color) Method
Converts the page to bitmap and highlights the specified search results.
Syntax
'Declaration Public Overloads Function ConvertToImage( _ ByVal resolution As Double, _ ByVal searchResults As PDFSearchTextResultCollection, _ ByVal highlightColor As Color _ ) As Bitmap
'Usage Dim instance As PDFPage Dim resolution As Double Dim searchResults As PDFSearchTextResultCollection Dim highlightColor As Color Dim value As Bitmap value = instance.ConvertToImage(resolution, searchResults, highlightColor)
public Bitmap ConvertToImage( double resolution, PDFSearchTextResultCollection searchResults, Color highlightColor )
Parameters
- resolution
- Resolution used for page conversion.
- searchResults
- Search results to highlight on the page.
- highlightColor
- Color for highlighting the search results.
Return Value
The page converted as image.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also