NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ImageGenerator.ImageGeneratorBitDepthToPixelFormat

ImageGeneratorBitDepthToPixelFormat takes an ImageGeneratorBitDepth (which all have simple names like "BitDepth8" and "BitDepth16") and converts it to the PixelFormat object that can actually be used by the Bitmap constructor. There is no corresponding method to convert PixelFormat variables to ImageGeneratorBitDepths because we never need one.

[Visual Basic]
Public Function ImageGeneratorBitDepthToPixelFormat( _
   ByVal e As ImageGeneratorBitDepth _
) As PixelFormat
[C#]
public PixelFormat ImageGeneratorBitDepthToPixelFormat(
   ImageGeneratorBitDepth e
);
[C++]
public: PixelFormat ImageGeneratorBitDepthToPixelFormat(
   ImageGeneratorBitDepth e
);
[JScript]
public function ImageGeneratorBitDepthToPixelFormat(
   e : ImageGeneratorBitDepth
) : PixelFormat;

Parameters

e
[To be supplied.]

See Also

ImageGenerator Class | ImageGenerator Members | System.Web.UI.WebControls Namespace