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)
Since: 5.0
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.
See Also