Click or drag to resize

ObjectTableAddText Method (TextEntity, ObjectAttributes)

Adds a text object to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddText(
	TextEntity text,
	ObjectAttributes attributes
)

Parameters

text
Type: Rhino.GeometryTextEntity
Text object to add.
attributes
Type: Rhino.DocObjectsObjectAttributes

[Missing <param name="attributes"/> documentation for "M:Rhino.DocObjects.Tables.ObjectTable.AddText(Rhino.Geometry.TextEntity,Rhino.DocObjects.ObjectAttributes)"]

Return Value

Type: Guid
The Id 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.0
See Also