AddImageOptions

Overview

AddImageOptions is a interface in Aspose.PDF FOSS for TypeScript.

Properties: format, layer, opacity, page, tag.

Properties

NameTypeAccessDescription
opacity: numberReadConstant opacity 0..1 (reuses /ExtGState).
format: 'jpeg' | 'png' | 'bmp' | 'tiff'ReadOverride format auto-detection.
page: numberReadWhich image of a multi-image file to embed, 0-based.
tag: StructElementReadWhen set, wrap the image draw in a marked-content sequence and attach it to the given structure element (typically a Figure with /Alt).
layer: LayerReadAttach the whole image XObject to an optional-content layer (sets /OC).