Class ResourceSavingArgs

Class ResourceSavingArgs

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

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

public class ResourceSavingArgs

Inheritance

objectResourceSavingArgs

Derived

CssSavingArgs, FontSavingArgs, ImageSavingArgs

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

ResourceSavingArgs()

public ResourceSavingArgs()

Properties

FileName

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

public string FileName { get; set; }

Property Value

string

KeepStreamOpen

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

public bool KeepStreamOpen { get; set; }

Property Value

bool

Stream

Gets or sets the binary content of saved file.

public Stream Stream { get; set; }

Property Value

Stream

Uri

Gets or sets the resource URI.

public string Uri { get; set; }

Property Value

string

Methods

CloseStreamIfRequired()

Close stream if KeepStreamOpen is false, else flush it.

public void CloseStreamIfRequired()