←Select platform

BrowserImageFormat Enumeration

Summary

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

Syntax

C#
VB
C++
public enum BrowserImageFormat 
  
Public Enum BrowserImageFormat  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
public enum class BrowserImageFormat : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

Members

ValueMemberDescription
0AutoUses 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.
1JpegUses Jpeg format, this is good for color images, but with lossy compression effects. You must reference Leadtools.Codecs.Cmp.
2PngUses Png format, this is good for document images and no lossy compression effects. You must reference Leadtools.Codecs.Png.
3GifUses Gif format, this is good for color images with less than 256 colors. You must reference Leadtools.Codecs.Gif.
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.

Example

Refer to WebImageViewer.ImageUrl.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Web Assembly