Class StreamProviderOptions

Class StreamProviderOptions

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

Represents the stream options.

public class StreamProviderOptions

Inheritance

objectStreamProviderOptions

Inherited Members

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

Constructors

StreamProviderOptions(ResourceLoadingType, string)

Initializes a new instance of the Aspose.Cells.StreamProviderOptions class.

public StreamProviderOptions(ResourceLoadingType loadingType, string defaultPath)

Parameters

loadingType ResourceLoadingType

The type to load the linked resource.

defaultPath string

The default path.

StreamProviderOptions()

Initializes a new instance of the Aspose.Cells.StreamProviderOptions class.

public StreamProviderOptions()

Properties

CustomPath

The user custom path(URL) saved in generated html file for the referred source. If not defined by user, DefaultPath will be used. For example, the sheet data will be saved by user to d:/sheet001.htm, the url used in the main html file should be “d:/sheet001.htm” or other valid relative path that can be accessed by the main html file.

public string CustomPath { get; set; }

Property Value

string

DefaultPath

The default path(URL) saved in generated html file for the referred source. For example, the sheet data saved in xxx_files/sheet001.htm, the url used in the main html file should be like “src=“xxx_files/sheet001.htm””

public string DefaultPath { get; }

Property Value

string

ResourceLoadingType

Gets and sets the type of loading resource.

public ResourceLoadingType ResourceLoadingType { get; set; }

Property Value

ResourceLoadingType

Stream

Gets/Sets the stream

public Stream Stream { get; set; }

Property Value

Stream