PDFView4NET WinForms Edition
ConvertToImage(Double,PDFSearchTextResultCollection,Color) Method




O2S.Components.PDFView4NET Namespace > PDFPage Class > ConvertToImage Method : ConvertToImage(Double,PDFSearchTextResultCollection,Color) Method
Resolution used for page conversion.
Search results to highlight on the page.
Color for highlighting the search results.
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)

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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPage Class
PDFPage Members
Overload List