| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property NearestGdiPlusPixelFormat As PixelFormat  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| 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.For an example, refer to ConvertToGdiPlusImage example. 
You can pass the value returned from this property to the ConvertToGdiPlusImage method. 
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family