Class ElementsBase
Base class for both ArrayElements and DictionaryElements.
public abstract class ElementsBase
- Inheritance
-
objectElementsBase
- Derived
Constructors
- ElementsBase(PdfContainer)
Base class for both ArrayElements and DictionaryElements.
Properties
- OwningContainer
Gets the PDF array or dictionary the elements belong to.
Methods
- CreateContainer(Type, PdfContainer?, bool)
Creates a container of the specified type depending on an optional old container.
- EnsureValueType<T>(Type)
Ensures that the specified value type is at least of the specified generic type.
- FailForDirectPrimitiveObject(PdfObject)
Must not use direct primitive objects. Use e.g. PdfString instead of PdfStringObject.
- ReleaseItem(PdfItem)
Marks a PDF item as 'not in use' anymore. For a PDF reference or an indirect object the reference counter is decremented. (Note that the reference counter is not yet used in PDFsharp.) For a direct object the structure parent is set to null and the object can be reused as a direct object or became an indirect object.