Converts a PixelFormat to a Format.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static Format GetTextureFormat(
	PixelFormat format
)

Parameters

format
Type: System.Drawing.Imaging..::.PixelFormat
A GDI+ format being converted.

Return Value

A Format value.

See Also