TextBoxes Object
Description
The TextBoxes collection object provides access to all the existing objects in a drawing document and supports methods to create new TextBox objects.
Methods
AddByRectangle |
Method that creates a text box whose size is defined by the \input points that define opposing diagonals of the text box. |
AddFitted |
Method that creates a text box positioned at the specified point. The size of the resulting text box is just large enough to contain the input text. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in the collection. |
Item |
Returns a TextBox from the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
DrawingSketch.TextBoxes,
PlanarSketch.TextBoxes,
PlanarSketchProxy.TextBoxes,
Sketch.TextBoxes,
SketchBlockDefinition.TextBoxes,
SketchBlockDefinitionProxy.TextBoxes
Samples
Create SketchedSymbol Definition |
This sample illustrates creating a new sketched symbol definition object and inserting it into the active sheet. |
Sketch Text Add |
This sample illustrates creating text in a sketch. |
Title Block Definition Create and Insert |
This sample illustrates creating a new title block definition object and inserting it into the active sheet. This sample consists of two subs. The first demonstrates the creation of a title block definition and the second inserts it into the active sheet. |
Version
Introduced in version 5.3