LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BrowserImageFormat Enumeration
See Also  
Leadtools.Web.Controls Namespace : BrowserImageFormat Enumeration



Values that specify the format of the image to be displayed by the browser.

Syntax

Visual Basic (Declaration) 
Public Enum BrowserImageFormat 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As BrowserImageFormat
C# 
public enum BrowserImageFormat : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class BrowserImageFormat : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
AutoUses Jpeg for color images, Gif for less than 256 colors images and Png for 1-bit document images. You must reference Leadtools.Codecs.Cmp and Leadtools.Codecs.Gif.
GifUses Gif format, this is good for color images with less than 256 colors. You must reference Leadtools.Codecs.Gif.
JpegUses Jpeg format, this is good for color images, but with lossy compression effects. You must reference Leadtools.Codecs.Cmp.
PngUses Png format, this is good for document images and no lossy compression effects. You must reference Leadtools.Codecs.Png.

Example

Remarks

The WebImageViewer.BrowserImageFormat property controls specifies the format of the image that the browser will display.

Depending on the setting for this property, your application will require different Leadtools.Codecs.xxx dlls. For more information on redistributing your application, see Files To Be Included With Your Application.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Web.Controls.BrowserImageFormat

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also