Table of Contents

Method CreateContainer

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

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

type Type

The type of the object to be created.

oldContainer PdfContainer

Container its elements are moved to the newly created type.

createIndirect bool

If true creates an indirect object.

Returns

PdfContainer