Click or drag to resize

PdfImageContentImage Property

Gets or sets the image.

If IsInline is , the Image is made read-only. This is required to correctly detect content changes.

If IsInline is , use Clone method on the Image to get PdfImage that you want to edit and set the edited clone back to the Image property.


Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntax
public PdfImage Image { get; set; }

Property Value

PdfImage
The image.
Exceptions
ExceptionCondition
ArgumentNullExceptionValue is .
ArgumentExceptionThe specified image cannot be used as an inline image because either its stream dictionary has indirect descendants or it has stream filters that are not supported in inline images (JPXDecode or JBIG2Decode).
Remarks
If PdfImage value that is being set is associated with another PdfDocument, this property setter will automatically clone it and associate the clone with the current PdfDocument.
See Also