Click or drag to resize

PdfIndirectObjectValue Property

Gets or sets the value of this PdfIndirectObject.

Caution note Caution

Set a value only if you are sure that this PdfIndirectObject is not referenced from any other place.

GemBox.Pdf never sets a value of an existing PdfIndirectObject because the PdfIndirectObject might be referenced from several places, instead new PdfIndirectObject is created and its value is set.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1004
Syntax
public PdfBasicObject Value { get; set; }

Property Value

Type: PdfBasicObject
The value of this PdfIndirectObject.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current PdfIndirectObject is read-only (IsReadOnly returns ).
ArgumentNullExceptionvalue is .
ArgumentExceptionvalue is already contained in some other PdfBasicObject or is PdfIndirectObject.
See Also