Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Enum
Visual Basic (Usage)Copy Code
Dim instance As BrowserImageFormat
C# 
public enum BrowserImageFormat : Enum 
C++/CLI 
public enum class BrowserImageFormat : public Enum 

Members

MemberDescription
Auto Uses Jpeg for color images, Gif for less than 256 colors images and Png for 1-bit document images.
Jpeg Uses Jpeg format, this is good for color images, but with lossy compression effects.
Png Uses Png format, this is good for document images and no lossy compression effects.
Gif Uses Gif format, this is good for color images with less than 256 colors.

Example

Remarks

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

Inheritance Hierarchy

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also