Image
Общ преглед
Image е клас в Aspose.Note за Python. Наследници от: CompositeNode.
Класата Image предоставя свойства за FileName, Bytes, OriginalWidth и Alignment, както и методи за подмяна на данните от изображението или промяна в неговото привеждане.
Свойства на веществата
| Name | Type | Access | Description |
|---|---|---|---|
FileName | `str | None` | Read |
FilePath | `str | None` | Read |
Format | `str | None` | Read |
Bytes | bytes | Read | Gets the bytes. |
OriginalWidth | `float | None` | Read |
OriginalHeight | `float | None` | Read |
Tags | list[NoteTag] | Read | Gets the tags. |
Alignment | `HorizontalAlignment | None` | Read/Write |
Width | `` | Read | Gets the width. |
Height | `` | Read | Gets the height. |
HorizontalOffset | `` | Read | Gets the horizontal offset. |
VerticalOffset | `` | Read | Gets the vertical offset. |
IsBackground | `` | Read | Gets the is background. |
LastModifiedTime | `` | Read | Gets the last modified time. |
AlternativeTextTitle | `` | Read | Gets the alternative text title. |
AlternativeTextDescription | `` | Read | Gets the alternative text description. |
HyperlinkUrl | `` | Read | Gets the hyperlink url. |
FirstChild | `Node | None` | Read |
LastChild | `Node | None` | Read |
ParentNode | `Node | None` | Read |
Document | `Document | None` | Read |
Методи за изчисляване на данните
| Signature | Description |
|---|---|
| `init(FileName: str | None, FilePath: str |
Replace(image: Image) | Replaces the current image data with the provided Image instance |
AppendChildLast(node: TNode) → TNode | |
AppendChildFirst(node: TNode) → TNode | |
InsertChild(index: int, node: TNode) → TNode | |
RemoveChild(node: Node) | |
GetEnumerator() → Iterator[Node] | |
GetChildNodes(node_type: type[TNode]) → list[TNode] | |
Accept(visitor: DocumentVisitor) |