Click or drag to resize

PdfArrayAdd Method

Adds a PdfBasicObject to the end of the PdfArray.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public void Add(
	PdfBasicObject item
)

Parameters

item  PdfBasicObject
The PdfBasicObject to be added to the end of the PdfArray. The value cannot be . Use Null value instead.

Implements

ICollectionTAdd(T)
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current PdfArray is read-only (IsReadOnly returns ).
ArgumentNullExceptionitem is .
ArgumentExceptionitem is already contained in some other PdfBasicObject or is PdfStream or is the current PdfArray.
See Also