Class FileOpenSource
Class FileOpenSource
Namespace: Aspose.Imaging.Sources
Assembly: Aspose.Imaging.dll (25.7.0)
Represents a file source for opening.
[JsonObject(MemberSerialization.OptIn)]
public sealed class FileOpenSource : FileSource
{
}
Inheritance
object ← Source ← FileSource ← FileOpenSource
Inherited Members
FileSource.IsTemporal , Source.GetStreamContainer() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
FileOpenSource(string)
Initializes a new instance of the Aspose.Imaging.Sources.FileOpenSource class.
public class FileOpenSource
{
[JsonConstructor]
public FileOpenSource(string filePath)
{
}
}
Parameters
filePath
string
The file path to open.
Properties
FilePath
Gets the file path to open.
[JsonProperty]
public string FilePath
{
get;
}
Property Value
IsTemporal
Gets a value indicating whether file will be temporal.
public override bool IsTemporal
{
get;
}
Property Value
Methods
GetStreamContainer()
Gets the stream container.
public override StreamContainer GetStreamContainer()
{
}
Returns
the stream container.
Remarks
Use with caution. You will need to dispose the stream container after retrieval.