AddFromTexts Method

Creates surface point data from AutoCAD Text objects.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public SurfaceOperationAddDrawingObject AddFromTexts(
	ObjectIdCollection textIds,
	string description
)

Visual Basic

Public Function AddFromTexts ( _
	textIds As ObjectIdCollection, _
	description As String _
) As SurfaceOperationAddDrawingObject

Visual C++

public:
SurfaceOperationAddDrawingObject^ AddFromTexts(
	ObjectIdCollection^ textIds, 
	String^ description
)

Parameters

textIds
Type: ObjectIdCollection
An ObjectIdCollection of AutoCAD Text objects from which the surface point data will be added.
description
Type: System.String
Specifies the description for the point data to be created.

Remarks

The XYZ coordinates of each text insertion point are used to define the surface point.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the ObjectIdCollection contains objects of types other than Autodesk.AutoCAD.DatabaseServices.DBText and Autodesk.AutoCAD.DatabaseServices.MText.

See Also