Aspose.Tasks for C++
Aspose::Tasks::ImageSavingArgs Class Reference

This class represents set of data that related to external image file's saving that occurs during conversion to HTML format. More...

#include <ImageSavingArgs.h>

Inherits Aspose::Tasks::ResourceSavingArgs.

Public Member Functions

HtmlImageType get_ImageType () const
 Gets a HTML image type. More...
 
 ImageSavingArgs ()
 Initializes a new instance of the ImageSavingArgs class. More...
 
- Public Member Functions inherited from Aspose::Tasks::ResourceSavingArgs
System::String get_FileName () const
 Gets the supposed file name that goes from converter to code of custom method. Can be use in custom code to decide how to process or where save that file. More...
 
void set_FileName (const System::String &value)
 Sets the supposed file name that goes from converter to code of custom method. Can be use in custom code to decide how to process or where save that file. More...
 
bool get_KeepStreamOpen () const
 Gets a value indicating whether the stream will be kept open after resource saving finishes. More...
 
void set_KeepStreamOpen (bool value)
 Sets a value indicating whether the stream will be kept open after resource saving finishes. More...
 
const System::SharedPtr< System::IO::Stream > & get_Stream () const
 Gets the binary content of saved file. More...
 
void set_Stream (const System::SharedPtr< System::IO::Stream > &value)
 Sets the binary content of saved file. More...
 
System::String get_Uri () const
 Gets the resource URI. More...
 
void set_Uri (const System::String &value)
 Sets the resource URI. More...
 
void CloseStreamIfRequired ()
 Close stream if KeepStreamOpen is false, else flush it. More...
 

Detailed Description

This class represents set of data that related to external image file's saving that occurs during conversion to HTML format.

Constructor & Destructor Documentation

◆ ImageSavingArgs()

Aspose::Tasks::ImageSavingArgs::ImageSavingArgs ( )

Initializes a new instance of the ImageSavingArgs class.

Member Function Documentation

◆ get_ImageType()

HtmlImageType Aspose::Tasks::ImageSavingArgs::get_ImageType ( ) const

Gets a HTML image type.