'Declaration
Public Function ThumbnailFromImGearPage( _
ByVal As ImGearPage, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Color, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As ImGearInterpolationOptions _
) As BitmapSource
'Usage
Dim instance As ImGearBitmapSourceConverter
Dim page As ImGearPage
Dim thumbnailWidth As Integer
Dim thumbnailHeight As Integer
Dim color As Color
Dim ppmX As Integer
Dim ppmY As Integer
Dim interpolation As ImGearInterpolationOptions
Dim value As BitmapSource
value = instance.ThumbnailFromImGearPage(page, thumbnailWidth, thumbnailHeight, color, ppmX, ppmY, interpolation)
Parameters
- page
- ImageGear.Core.ImGearPage object to be converted.
- thumbnailWidth
- Maximum thumbnail width.
- thumbnailHeight
- Maximum thumbnail height.
- color
- Background color for thumbnail.
- ppmX
- Horizontal image resolution used for conversion.
- ppmY
- Vertical image resolution used for conversion.
- interpolation
- Interpolation options used for conversion.
Return Value
System.Windows.Media.Imaging.BitmapSource
object.