Method CreateContainer
CreateContainer(Type, PdfContainer?, bool)
Creates a container of the specified type depending on an optional old container.
protected PdfContainer CreateContainer(Type type, PdfContainer? oldContainer, bool createIndirect)
Parameters
typeTypeThe type of the object to be created.
oldContainerPdfContainerContainer its elements are moved to the newly created type.
createIndirectboolIf true creates an indirect object.