Click or drag to resize

ObjectTableAddLeader Method (Leader, ObjectAttributes, HistoryRecord, Boolean)

Adds a Leader object to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public Guid AddLeader(
	Leader leader,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)

Parameters

leader
Type: Rhino.GeometryLeader
The leader object.
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to rich text.
history
Type: Rhino.DocObjectsHistoryRecord
Object history to save.
reference
Type: SystemBoolean
If reference, then object will not be saved into the 3dm file.

Return Value

Type: Guid
The Guid of the newly added object or Guid.Empty on failure.
See Also