PDFView4NET WPF Edition
ConvertToImage(Int32,Int32,PDFOutputImageFormat,PDFSearchTextResultCollection,Color) Method




O2S.Components.PDFView4NET Namespace > PDFPage Class > ConvertToImage Method : ConvertToImage(Int32,Int32,PDFOutputImageFormat,PDFSearchTextResultCollection,Color) Method
The dpi X.
The dpi Y.
The image format.
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 dpiX As Integer, _
   ByVal dpiY As Integer, _
   ByVal imageFormat As PDFOutputImageFormat, _
   ByVal searchResults As PDFSearchTextResultCollection, _
   ByVal highlightColor As Color _
) As Stream
'Usage
 
Dim instance As PDFPage
Dim dpiX As Integer
Dim dpiY As Integer
Dim imageFormat As PDFOutputImageFormat
Dim searchResults As PDFSearchTextResultCollection
Dim highlightColor As Color
Dim value As Stream
 
value = instance.ConvertToImage(dpiX, dpiY, imageFormat, searchResults, highlightColor)

Parameters

dpiX
The dpi X.
dpiY
The dpi Y.
imageFormat
The image format.
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