C++ API Library Reference  4.3.2-74-ge1d4cca
Public Functions | List of all members
ImageCompressionEventArgs Class Reference

The ImageCompressionEventArgs class is an event arguments class for image encoding events.

Public Functions

int CompressionQuality () const
 
bool Handled () const
 
CSI::PureWeb::Image Image () const
 
void SetCompressionQuality (int value)
 
void SetHandled (bool value)
 
String const & ViewName () const
 
Constructors and Destructors
 ImageCompressionEventArgs ()
 
 ImageCompressionEventArgs (String const &viewName, CSI::PureWeb::Image const &image, int compressionQuality)
 
 ~ImageCompressionEventArgs ()
 

Usage Description

int CompressionQuality ( ) const
inline

Gets the current compression quality of the image.

bool Handled ( ) const
inline

Determines if the image compression event has been handled by some event handler.

CSI::PureWeb::Image Image ( ) const
inline

Gets the image to be compressed.

void SetCompressionQuality ( int  value)

Sets compression quality of the image.

void SetHandled ( bool  value)
inline

Sets the boolean value that determines if the event has been handled by some event handler.

Parameters
valueSet to true if the event has been handled, or to false otherwise.
String const& ViewName ( ) const
inline

Gets the name of the view whose image will be encoded.