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

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...
 

Detailed Description

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

Member Function Documentation

◆ CloseStreamIfRequired()

void Aspose::Tasks::ResourceSavingArgs::CloseStreamIfRequired ( )

Close stream if KeepStreamOpen is false, else flush it.

◆ get_FileName()

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.

◆ get_KeepStreamOpen()

bool Aspose::Tasks::ResourceSavingArgs::get_KeepStreamOpen ( ) const

Gets a value indicating whether the stream will be kept open after resource saving finishes.

◆ get_Stream()

const System::SharedPtr<System::IO::Stream>& Aspose::Tasks::ResourceSavingArgs::get_Stream ( ) const

Gets the binary content of saved file.

◆ get_Uri()

System::String Aspose::Tasks::ResourceSavingArgs::get_Uri ( ) const

Gets the resource URI.

◆ set_FileName()

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.

◆ set_KeepStreamOpen()

void Aspose::Tasks::ResourceSavingArgs::set_KeepStreamOpen ( bool  value)

Sets a value indicating whether the stream will be kept open after resource saving finishes.

◆ set_Stream()

void Aspose::Tasks::ResourceSavingArgs::set_Stream ( const System::SharedPtr< System::IO::Stream > &  value)

Sets the binary content of saved file.

◆ set_Uri()

void Aspose::Tasks::ResourceSavingArgs::set_Uri ( const System::String &  value)

Sets the resource URI.