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

NameTypeAccessDescription
FileNamestr | NoneReadGets the file name.
FilePathstr | NoneReadGets the file path.
Formatstr | NoneReadGets the format.
BytesbytesReadGets the bytes.
OriginalWidthfloat | NoneReadGets the original width.
OriginalHeightfloat | NoneReadGets the original height.
Tagslist[NoteTag]ReadGets the tags.
AlignmentHorizontalAlignment | NoneReadGets the alignment.
Width``ReadGets the width.
Height``ReadGets the height.
HorizontalOffset``ReadGets the horizontal offset.
VerticalOffset``ReadGets the vertical offset.
IsBackground``ReadGets the is background.
LastModifiedTime``ReadGets the last modified time.
AlternativeTextTitle``ReadGets the alternative text title.
AlternativeTextDescription``ReadGets the alternative text description.
HyperlinkUrl``ReadGets the hyperlink url.

Methods

SignatureDescription
__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

See Also