Image
Overview
Image is a class in Aspose.Note FOSS for Python.
Inherits from: CompositeNode.
Image.Replace replaces the current image data with the provided Image instance.
This class provides 2 methods for working with Image objects in Python programs.
Available methods include: Replace, __init__.
All exported members are accessible to any Python application after installing the Aspose.Note FOSS for Python package.
Properties: Alignment, AlternativeTextDescription, AlternativeTextTitle, Bytes, FileName, FilePath, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
FileName | str | None | Read | Gets the file name. |
FilePath | str | None | Read | Gets the file path. |
Format | str | None | Read | Gets the format. |
Bytes | bytes | Read | Gets the bytes. |
OriginalWidth | float | None | Read | Gets the original width. |
OriginalHeight | float | None | Read | Gets the original height. |
Tags | list[NoteTag] | Read | Gets the tags. |
Alignment | HorizontalAlignment | None | Read | Gets the alignment. |
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. |
Methods
| Signature | Description |
|---|---|
__init__(FileName: str | None, FilePath: str | None, Format: str | None, Bytes: bytes, Width: float | None, Height: float | None, OriginalWidth: float | None, OriginalHeight: float | None, HorizontalOffset: float | None, VerticalOffset: float | None, Alignment: HorizontalAlignment | None, IsBackground: bool, LastModifiedTime: datetime | None, AlternativeTextTitle: str | None, AlternativeTextDescription: str | None, HyperlinkUrl: str | None, Tags: list[NoteTag] | None) | |
Replace(image: Image) | Replaces the current image data with the provided Image instance |