Aspose.Tasks for C++
|
This class represents set of data that related to external resource file's saving that occurs during conversion to HTML format. More...
#include <ResourceSavingArgs.h>
Inherits System::Object.
Inherited by Aspose::Tasks::CssSavingArgs, Aspose::Tasks::FontSavingArgs, and Aspose::Tasks::ImageSavingArgs.
Public Member Functions | |
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... | |
This class represents set of data that related to external resource file's saving that occurs during conversion to HTML format.
void Aspose::Tasks::ResourceSavingArgs::CloseStreamIfRequired | ( | ) |
Close stream if KeepStreamOpen is false, else flush it.
System::String Aspose::Tasks::ResourceSavingArgs::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.
bool Aspose::Tasks::ResourceSavingArgs::get_KeepStreamOpen | ( | ) | const |
Gets a value indicating whether the stream will be kept open after resource saving finishes.
const System::SharedPtr<System::IO::Stream>& Aspose::Tasks::ResourceSavingArgs::get_Stream | ( | ) | const |
Gets the binary content of saved file.
System::String Aspose::Tasks::ResourceSavingArgs::get_Uri | ( | ) | const |
Gets the resource URI.
void Aspose::Tasks::ResourceSavingArgs::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.
void Aspose::Tasks::ResourceSavingArgs::set_KeepStreamOpen | ( | bool | value | ) |
Sets a value indicating whether the stream will be kept open after resource saving finishes.
void Aspose::Tasks::ResourceSavingArgs::set_Stream | ( | const System::SharedPtr< System::IO::Stream > & | value | ) |
Sets the binary content of saved file.
void Aspose::Tasks::ResourceSavingArgs::set_Uri | ( | const System::String & | value | ) |
Sets the resource URI.