Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Codecs Property
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : Codecs Property




Gets and sets the RasterCodecs object used to load the thumbnail images.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public Property Codecs As RasterCodecs
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowser
Dim value As RasterCodecs
 
instance.Codecs = value
 
value = instance.Codecs
C# 
[BrowsableAttribute(false)]
public RasterCodecs Codecs {get; set;}
Managed Extensions for C++ 
[BrowsableAttribute(false)]
public: __property RasterCodecs get_Codecs();
public: __property void set_Codecs( 
   RasterCodecs value
);
C++/CLI 
[BrowsableAttribute(false)]
public:
property RasterCodecs Codecs {
   RasterCodecs get();
   void set (RasterCodecs value);
}

Return Value

A RasterCodecs object used to load the thumbnail images. Default value is a null reference (Nothing in Visual Basic).

Example

For an example, refer to RasterThumbnailBrowser.

Remarks

The RasterThumbnailBrowser control automatically loads and creates thumbnails for the images found on the disk folder when the LoadThumbnails method is called. You need to set the Codecs property with an instance of the RasterCodecs class to be used to load these images. You can re-use the RasterCodecs object that you are using in your main application.

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