Drawing.parentDocument Property

Parent Object: Drawing
Defined in namespace "adsk::drawing" and the header file is <Drawing/Drawing/Drawing.h>

Description

Returns the parent Document object.

Syntax

"drawing_var" is a variable referencing a Drawing object.

# Get the value of the property.
propertyValue = drawing_var.parentDocument
"drawing_var" is a variable referencing a Drawing object.
#include <Drawing/Drawing/Drawing.h>

// Get the value of the property.
Ptr<Document> propertyValue = drawing_var->parentDocument();

Property Value

This is a read only property whose value is a Document.

Version

Introduced in version December 2020