Table of Contents

Method GetParent

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

GetParent(DocumentObject?)

Gets the direct parent of the given document object.

public static DocumentObject? GetParent(DocumentObject? documentObject)

Parameters

documentObject DocumentObject

The document object the parent is searched for.

Returns

DocumentObject

Exceptions

ArgumentNullException