FileOpenSource 类
Summary: Represents a file source for opening.
Module: aspose.imaging.sources
Full Name: aspose.imaging.sources.FileOpenSource
Inheritance: FileSource
Constructors
| Name | 描述 |
|---|---|
| FileOpenSource(file_path) | 初始化 FileOpenSource 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| file_path | string | r | 获取要打开的文件路径。 |
| is_temporal | bool | r | 获取一个值,指示文件是否为临时文件。 |
Methods
| Name | 描述 |
|---|---|
| get_stream_container() | 获取流容器。 |
Constructor: FileOpenSource(file_path)
FileOpenSource(file_path)
初始化 FileOpenSource 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| file_path | string | 要打开的文件路径。 |
Method: get_stream_container()
get_stream_container()
获取流容器。
Returns
| Type | Description |
|---|---|
| StreamContainer | 流容器。 |