←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 : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
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
0x00000000AutoUses 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.
0x00000001JpegUses Jpeg format, this is good for color images, but with lossy compression effects. You must reference Leadtools.Codecs.Cmp.
0x00000002PngUses Png format, this is good for document images and no lossy compression effects. You must reference Leadtools.Codecs.Png.
0x00000003GifUses 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Web Assembly
Click or drag to resize