There is already an ImageFormat class in the NGWS frameworks, but it is not implemented using real enums, which means that giving the DynamicImage control a property of type ImageFormat will not present the user with a drop-down list of enumerated types in the property grid for the DynamicImage control. This class provides real enums for the DynamicImage control to use, and the ImageGenerator class uses a static function to map these enumerated types to the "real" ImageFormat class.
[Visual Basic] Public Enum ImageGeneratorImageFormat [C#] public enum ImageGeneratorImageFormat [C++] public enum ImageGeneratorImageFormat
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
BMP | [To be supplied.] |
GIF | [To be supplied.] |
JPEG | [To be supplied.] |
PNG | [To be supplied.] |
Namespace: System.Web.UI.WebControls
Assembly: System.Web.dll