TextBoxProxy Object

Derived from: TextBox Object

Description

This is an assembly-context proxy object derived from its native definition-context object.

Methods

Name Description
ConvertToGeometry Method that converts the text box to sketch geometries.
Delete Method that deletes the text box.
GetFacetsInfo Returns facets’ coordinates of the text box.
GetReferenceKey Method that generates and returns the reference key for this entity.

Properties

Name Description
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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
BackgroundColor
BoundaryGeometry Property that returns the four construction sketch lines that form the boundary of the text box.
Color
ContainingOccurrence Property that returns the ComponentOccurrence that the native object is being referenced through. The returned occurrence is the containing occurrence.
ContainingSketchBlock Property that returns the sketch block that contains this object. This is the same SketchBlock returned as the last item in the SketchBlockPath property. This property returns Nothing if this object does not belong to a sketch block and lives directly under a sketch.
Fitted Property that returns if the text box remains tightly fitted to the text within the box. True indicates the text box just encloses the text.
FittedTextHeight Property that returns the actual height of the text within the text box. This does not necessarily represent the current height of the text box, but only the text within the box. If the Fitted property is True then this value is the same as the height of the text box.
FittedTextWidth Property that returns the actual width of the text within the text box. This does not necessarily represent the current width of the text box, but only the text within the box. If the Fitted property is True then this value is the same as the width of the text box.
FormattedText
Height
HorizontalJustification
Layer
LineSpacing
LineSpacingType
NativeObject Gets the object in the context of the definition instead of the containing assembly.
Origin
OriginSketchPoint Gets the SketchPoint on the origin of this TextBox. This will be Nothing in the case that the boundaries are displayed
Parent Property that returns the parent object from whom this object can logically be reached.
RangeBox Property that returns a Box2D object which contains the lower-left and upper-right corners of a rectangle that is guaranteed to enclose this object.
Rotation
ShowBoundaries
SingleLineText
SketchBlockPath Property that returns the path of sketch blocks at the leaf of which this sketch object is found. The enumerator returns a count of 0 if the object lives directly under a sketch.
StackedTextPosition
Style
Text
Type Returns an ObjectTypeEnum indicating this object's type.
UseBackgroundColor
VerticalJustification
Width
WidthScale

Version

Introduced in version 10