ObjectTable.AddText Method (Text3d, ObjectAttributes)

ObjectTableAddText Method (Text3d, ObjectAttributes)

Adds an annotation text object to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddText(
	Text3d text3d,
	ObjectAttributes attributes
)
Public Function AddText ( 
	text3d As Text3d,
	attributes As ObjectAttributes
) As Guid

Parameters

text3d
Type: Rhino.DisplayText3d
The text object to add.
attributes
Type: Rhino.DocObjectsObjectAttributes
Object Attributes.

Return Value

Type: Guid
The Guid of the newly added object or Guid.Empty on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also