Error processing SSI file
LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

Show in webframe

GetNearestPixelFormat Method






The source image.
Gets the GDI+ System.Drawing.Imaging.PixelFormat that is closest to a source Leadtools.RasterImage data.
Syntax
public static PixelFormat GetNearestPixelFormat( 
   RasterImage image
)
'Declaration
 
Public Shared Function GetNearestPixelFormat( _
   ByVal image As RasterImage _
) As PixelFormat
'Usage
 
Dim image As RasterImage
Dim value As PixelFormat
 
value = RasterImageConverter.GetNearestPixelFormat(image)
public:
static PixelFormat GetNearestPixelFormat( 
   RasterImage^ image
) 

Parameters

image
The source image.
Remarks

You can pass the value returned from this property to the MakeCompatible method.

For more information refer to RasterImage and GDI/GDI+.

Example
For an example, refer to MakeCompatible example.
Requirements

Target Platforms

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

Error processing SSI file