Description:
Syntax:
public Guid AddText(
string text,
Plane plane,
double height,
string fontName,
bool bold,
bool italic,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
string text,
Plane plane,
double height,
string fontName,
bool bold,
bool italic,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
Returns:
Type: Guid
Available since:
5.0
Description:
Adds an annotation text object to the document.
Parameters:
- text
- Type: string
- Text string.
- plane
- Type: Plane
- Plane of text.
- height
- Type: double
- Height of text.
- fontName
- Type: string
- Name of FontFace.
- bold
- Type: bool
- Bold flag.
- italic
- Type: bool
- Italic flag.
- attributes
- Type: ObjectAttributes
- Attributes that will be linked with the object.
Returns:
Type: Guid
The Guid of the newly added object or Guid.Empty on failure.
Available since:
5.0
Description:
Syntax:
public Guid AddText(
string text,
Plane plane,
double height,
string fontName,
bool bold,
bool italic,
TextJustification justification,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
string text,
Plane plane,
double height,
string fontName,
bool bold,
bool italic,
TextJustification justification,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
Returns:
Type: Guid
Available since:
5.0
Description:
Syntax:
public Guid AddText(
string text,
Plane plane,
double height,
string fontName,
bool bold,
bool italic,
TextJustification justification,
ObjectAttributes attributes
)
string text,
Plane plane,
double height,
string fontName,
bool bold,
bool italic,
TextJustification justification,
ObjectAttributes attributes
)
Returns:
Type: Guid
Available since:
5.0
Description:
Returns:
Type: Guid
Available since:
5.0
Description:
Adds an annotation text object to the document.
Description:
Adds an annotation text object to the document.
Syntax:
Parameters:
- text3d
- Type: Text3d
- The text object to add.
- attributes
- Type: ObjectAttributes
- Object Attributes.
Returns:
Type: Guid
The Guid of the newly added object or Guid.Empty on failure.
Available since:
5.0
Description:
Adds an annotation text object to the document.
Syntax:
Parameters:
- text3d
- Type: Text3d
- The text object to add.
Returns:
Type: Guid
The Guid of the newly added object or Guid.Empty on failure.
Available since:
5.0
Description:
Adds a text object to the document.
Syntax:
public Guid AddText(
TextEntity text,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
TextEntity text,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
Parameters:
- text
- Type: TextEntity
- Text object to add.
- attributes
- Type: ObjectAttributes
- history
- Type: HistoryRecord
- Object history to save.
- reference
- Type: bool
- If reference, then object will not be saved into the 3dm file.
Returns:
Type: Guid
The Id of the newly added object or Guid.Empty on failure.
Available since:
5.0
Description:
Adds a text object to the document.
Syntax:
Parameters:
- text
- Type: TextEntity
- Text object to add.
- attributes
- Type: ObjectAttributes
Returns:
Type: Guid
The Id of the newly added object or Guid.Empty on failure.
Available since:
5.0
Description:
Adds a v6_TextObject to the document.
Syntax:
Parameters:
- text
- Type: TextEntity
- Text object to add.
Returns:
Type: Guid
The Id of the newly added object or Guid.Empty on failure.
Available since:
5.0