Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
NearestGdiPlusPixelFormat Property
See Also 
Leadtools Namespace > RasterImage Class : NearestGdiPlusPixelFormat Property



Gets the GDI+ PixelFormat that is closest to this RasterImage data.

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property NearestGdiPlusPixelFormat As PixelFormat
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim value As PixelFormat
 
value = instance.NearestGdiPlusPixelFormat
C#  
public PixelFormat NearestGdiPlusPixelFormat {get;}
C++/CLI  
public:
property PixelFormat NearestGdiPlusPixelFormat {
   PixelFormat get();
}

Return Value

The GDI+ PixelFormat that is closest to this RasterImage data.

Example

For an example, refer to ConvertToGdiPlusImage example.

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also