Represents a linear dimension

Constructors

LinearDimension

#Since v5.0
public LinearDimension()

LinearDimension

#ExampleSince v5.0
public LinearDimension(
dimensionPlane,
extensionLine1End,
extensionLine2End,
pointOnDimensionLine
)

LinearDimension

#
Protected constructor used in serialization.
protected LinearDimension()

Properties

Aligned

#Since v5.0
Gets or sets a value indicating whether this annotation is aligned.
public bool Aligned { get; set; }

AlternateBelowLine

public bool AlternateBelowLine { get; set; }
inherited fromDimension

AlternateDimensionLengthDisplay

Alternate length display units and format
public DimensionStyle.LengthDisplay AlternateDimensionLengthDisplay { get; set; }
inherited fromAnnotationBase

AltLengthFactor

public double AltLengthFactor { get; set; }
inherited fromDimension

AltLengthResolution

public int AltLengthResolution { get; set; }
inherited fromDimension

AltLengthRoundoff

public double AltLengthRoundoff { get; set; }
inherited fromDimension

AltPrefix

public string AltPrefix { get; set; }
inherited fromDimension

AltSuffix

public string AltSuffix { get; set; }
inherited fromDimension

AltToleranceResolution

public int AltToleranceResolution { get; set; }
inherited fromDimension

AltUnitsDisplay

public bool AltUnitsDisplay { get; set; }
inherited fromDimension

AltZeroSuppression

public DimensionStyle.ZeroSuppression AltZeroSuppression { get; set; }
inherited fromDimension

AnnotationType

#Since v6.0
public AnnotationType AnnotationType { get; set; }

ArrowBlockId1

public Guid ArrowBlockId1 { get; set; }
inherited fromDimension

ArrowBlockId2

public Guid ArrowBlockId2 { get; set; }
inherited fromDimension

ArrowFit

public DimensionStyle.ArrowFit ArrowFit { get; set; }
inherited fromDimension

Arrowhead1End

#Since v5.0
Gets the arrow head end of the first extension line.
public Point2d Arrowhead1End { get; }

Arrowhead2End

#Since v5.0
Gets the arrow head end of the second extension line.
public Point2d Arrowhead2End { get; }

ArrowheadType1

public DimensionStyle.ArrowType ArrowheadType1 { get; set; }
inherited fromDimension

ArrowheadType2

public DimensionStyle.ArrowType ArrowheadType2 { get; set; }
inherited fromDimension

ArrowSize

public double ArrowSize { get; set; }
inherited fromDimension

BaselineSpacing

public double BaselineSpacing { get; set; }
inherited fromDimension

CentermarkSize

public double CentermarkSize { get; set; }
inherited fromDimension

CentermarkStyle

public DimensionStyle.CenterMarkStyle CentermarkStyle { get; set; }
inherited fromDimension

DecimalSeparator

Set or get the decimal separator c
public char DecimalSeparator { get; set; }
inherited fromAnnotationBase

DetailMeasured

public Guid DetailMeasured { get; set; }
inherited fromDimension

DimensionLengthDisplay

Length display units and format
public DimensionStyle.LengthDisplay DimensionLengthDisplay { get; set; }
inherited fromAnnotationBase

DimensionLineExtension

public double DimensionLineExtension { get; set; }
inherited fromDimension

DimensionLinePoint

#Since v6.0
Point on annotation plane where dimension line starts
public Point2d DimensionLinePoint { get; set; }

DimensionScale

Gets or sets the dimension scale
public double DimensionScale { get; set; }
inherited fromAnnotationBase

DimensionStyle

If there are no overrides then the parent style is returned otherwise the dimension style saved with the annotation is returned.
public DimensionStyle DimensionStyle { get; }
inherited fromAnnotationBase

DimensionStyleId

Id of this annotation's parent dimstyle If this annotation has overrides to dimstyle properties, those overrides will be represented in the DimensionStyle returned by DimensionStyle(ParentStyle)
public Guid DimensionStyleId { get; set; }
inherited fromAnnotationBase

Disposed

Indicates if this object has been disposed or the document it originally belonged to has been disposed.
public bool Disposed { get; }
inherited fromCommonObject

DistanceBetweenArrowTips

#Since v5.0
Gets the distance between arrow tips.
public double DistanceBetweenArrowTips { get; }

DistanceScale

public double DistanceScale { get; set; }
inherited fromDimension

DrawForward

Gets or sets whether the text is oriented towards the reader when viewed from behind
public bool DrawForward { get; set; }
inherited fromAnnotationBase

DrawTextFrame

Gets or sets whether to draw a frame around a text mask
public bool DrawTextFrame { get; set; }
obsoleteDo not use setter as the MaskFrame is an enum. Use MaskFrame property instead
inherited fromAnnotationBase

ExtensionLine1End

#Since v5.0
End of the first extension line.
public Point2d ExtensionLine1End { get; set; }

ExtensionLine2End

#Since v5.0
End of the second extension line.
public Point2d ExtensionLine2End { get; set; }

ExtensionLineExtension

public double ExtensionLineExtension { get; set; }
inherited fromDimension

ExtensionLineOffset

public double ExtensionLineOffset { get; set; }
inherited fromDimension

FirstCharFont

Returns the font used by the first run of text in an annotation
public Font FirstCharFont { get; }
inherited fromAnnotationBase

FixedExtensionLength

public double FixedExtensionLength { get; set; }
inherited fromDimension

FixedLengthExtensionOn

public bool FixedLengthExtensionOn { get; set; }
inherited fromDimension

Font

The base Font for the text of the annotation. The text string is rich text and therefore a different font that the base font can be associated with sub strings of the text
public Font Font { get; set; }
inherited fromAnnotationBase

FontIndex

Obsolete; use Font property instead
[EditorBrowsable(EditorBrowsableState.Never)] public int FontIndex { get; set; }
obsoleteUse Font property instead. Ex: textEntity.Font = Rhino.DocObjects.Font.FromQuartetProperties("Arial", false, false);
inherited fromAnnotationBase

ForceArrowPosition

public Dimension.ForceArrow ForceArrowPosition { get; set; }
inherited fromDimension

ForceDimensionLineBetweenExtensionLines

public bool ForceDimensionLineBetweenExtensionLines { get; set; }
inherited fromDimension

ForceDimLine

public bool ForceDimLine { get; set; }
inherited fromDimension

ForceTextPosition

public Dimension.ForceText ForceTextPosition { get; set; }
inherited fromDimension

FormatWidth

Text format width (Wrapping rectangle)
public double FormatWidth { get; set; }
inherited fromAnnotationBase

HasBrepForm

Returns true if the Brep.TryConvertBrep function will be successful for this object
public bool HasBrepForm { get; }
inherited fromGeometryBase

HasPropertyOverrides

public bool HasPropertyOverrides { get; }
inherited fromAnnotationBase

HasUserData

Gets true if this class has any custom information attached to it through UserData.
public bool HasUserData { get; }
inherited fromCommonObject

IsDeformable

true if object can be accurately modified with "squishy" transformations like projections, shears, and non-uniform scaling.
public bool IsDeformable { get; }
inherited fromGeometryBase

IsDocumentControlled

If true this object may not be modified. Any properties or functions that attempt to modify this object when it is set to "IsReadOnly" will throw a NotSupportedException.
public sealed override bool IsDocumentControlled { get; }
inherited fromGeometryBase

IsShallowDuplicate

Is this instance a 'shallow copy'. Shallow copies are no different than regular instances with the exception that they will convert to complete independent 'deep' copies if a non const operation is perform on the instance (something that mutates the internal data)
public bool IsShallowDuplicate { get; }
inherited fromGeometryBase

IsValid

Tests an object to see if it is valid.
public virtual bool IsValid { get; }
inherited fromCommonObject

LengthFactor

public double LengthFactor { get; set; }
inherited fromDimension

LengthResolution

public int LengthResolution { get; set; }
inherited fromDimension

LengthRoundoff

public double LengthRoundoff { get; set; }
inherited fromDimension

LineSpaceScale

Scale applied to line spacing
public double LineSpaceScale { get; set; }
inherited fromAnnotationBase

MaskColor

Color to use for drawing a text mask when it is enabled. If the mask is enabled and MaskColor is System.Drawing.Color.Transparent, then the viewport's color will be used for the MaskColor
public Color MaskColor { get; set; }
inherited fromAnnotationBase

MaskColorSource

Gets or sets whether the mask background color is from the background or from a color
public DimensionStyle.MaskType MaskColorSource { get; set; }
inherited fromAnnotationBase

MaskEnabled

Determines whether or not to draw a Text Mask
public bool MaskEnabled { get; set; }
inherited fromAnnotationBase

MaskFrame

Gets or sets whether to draw a frame around a text mask
public DimensionStyle.MaskFrame MaskFrame { get; set; }
inherited fromAnnotationBase

MaskOffset

Offset for the border around text of the rectangle used to draw the mask. This value multiplied by TextHeight is the offset on each side of the tight rectangle around the text characters to the mask rectangle. The default value is 0.1.
public double MaskOffset { get; set; }
inherited fromAnnotationBase

MaskUsesViewportColor

If true, the viewport's color is used for the mask color. If false, the color defined by MaskColor is used
public bool MaskUsesViewportColor { get; set; }
inherited fromAnnotationBase

NumericValue

Gets the numeric value (or measurement), depending on geometry type.

LinearDimension: distance between arrow tips

RadialDimension: radius or diameter depending on type

AngularDimension: angle in radians

public double NumericValue { get; }
inherited fromDimension

ObjectType

Useful for switch statements that need to differentiate between basic object types like points, curves, surfaces, and so on.
[CLSCompliant(false)] public ObjectType ObjectType { get; }
inherited fromGeometryBase

ParentDimensionStyle

The parent dimension style associated with this annotation
public DimensionStyle ParentDimensionStyle { get; set; }
inherited fromAnnotationBase

PlainText

Text stripped of RTF formatting information
public string PlainText { get; set; }
inherited fromAnnotationBase

PlainTextWithFields

Text stripped of RTF formatting information and with field expressions intact
public string PlainTextWithFields { get; }
inherited fromAnnotationBase

PlainUserText

public string PlainUserText { get; }
inherited fromDimension

Plane

Plane that this annotation lies on
public Plane Plane { get; set; }
inherited fromAnnotationBase

Prefix

public string Prefix { get; set; }
inherited fromDimension

RichText

Text including additional RTF formatting information
public string RichText { get; set; }
inherited fromAnnotationBase

Suffix

public string Suffix { get; set; }
inherited fromDimension

SuppressDimensionLine1

Suppresses the dimension line and arrowhead between the first extension line and the dimension text.
public bool SuppressDimensionLine1 { get; set; }
inherited fromDimension

SuppressDimensionLine2

Suppresses the dimension line and arrowhead between the second extension line and the dimension text.
public bool SuppressDimensionLine2 { get; set; }
inherited fromDimension

SuppressExtension1

public bool SuppressExtension1 { get; set; }
inherited fromDimension

SuppressExtension2

public bool SuppressExtension2 { get; set; }
inherited fromDimension

Text

Text including additional RTF formatting information
public string Text { get; set; }
obsoleteUse RichText or PlainText
inherited fromAnnotationBase

TextAngleType

public virtual DimensionStyle.LeaderContentAngleStyle TextAngleType { get; set; }
inherited fromDimension

TextFit

public DimensionStyle.TextFit TextFit { get; set; }
inherited fromDimension

TextFormula

public string TextFormula { get; set; }
inherited fromDimension

TextHasRtfFormatting

Gets a value indicating whether the annotation's text is formatted as RTF (Rich Text Format). Returns true if the text begins with an RTF header; otherwise, false.
public bool TextHasRtfFormatting { get; }
inherited fromAnnotationBase

TextHeight

AnnotationBase.TextHeight Gets the parent dimstyle for the annotation and gets or sets the text height in the dimstyle
public double TextHeight { get; set; }
inherited fromAnnotationBase

TextIsWrapped

Is text wrapping on
public bool TextIsWrapped { get; set; }
inherited fromAnnotationBase

TextLocation

public virtual DimensionStyle.TextLocation TextLocation { get; set; }
inherited fromDimension

TextModelWidth

Width of text in the model
public double TextModelWidth { get; }
inherited fromAnnotationBase

TextOrientation

public virtual TextOrientation TextOrientation { get; set; }
inherited fromDimension

TextPosition

Gets and sets the position of text on the plane.
public Point2d TextPosition { get; set; }
inherited fromDimension

TextRotation

public double TextRotation { get; set; }
inherited fromDimension

TextRotationDegrees

Rotation of text in degrees
public double TextRotationDegrees { get; set; }
inherited fromAnnotationBase

TextRotationRadians

Rotation of text in radians
public double TextRotationRadians { get; set; }
inherited fromAnnotationBase

ToleranceFormat

public DimensionStyle.ToleranceDisplayFormat ToleranceFormat { get; set; }
inherited fromDimension

ToleranceHeightScale

public double ToleranceHeightScale { get; set; }
inherited fromDimension

ToleranceLowerValue

public double ToleranceLowerValue { get; set; }
inherited fromDimension

ToleranceResolution

public int ToleranceResolution { get; set; }
inherited fromDimension

ToleranceUpperValue

public double ToleranceUpperValue { get; set; }
inherited fromDimension

UseDefaultTextPoint

public bool UseDefaultTextPoint { get; set; }
inherited fromDimension

UseKerning

Use kerning data in font to set distances between glyphs
public bool UseKerning { get; set; }
inherited fromAnnotationBase

UserData

List of custom information that is attached to this class.
public UserDataList UserData { get; }
inherited fromCommonObject

UserDictionary

Dictionary of custom information attached to this class. The dictionary is actually user data provided as an easy to use shareable set of information.
public ArchivableDictionary UserDictionary { get; }
inherited fromCommonObject

UserStringCount

Gets the amount of user strings.
public int UserStringCount { get; }
inherited fromGeometryBase

ZeroSuppression

public DimensionStyle.ZeroSuppression ZeroSuppression { get; set; }
inherited fromDimension

Methods

ClearPropertyOverrides

Clears all overridden properties for this annotation
public bool ClearPropertyOverrides()
inherited fromAnnotationBase

ComponentIndex

If this piece of geometry is a component in something larger, like a BrepEdge in a Brep, then this function returns the component index.
[ConstOperation] public ComponentIndex ComponentIndex()
inherited fromGeometryBase
This object's component index. If this object is not a sub-piece of a larger geometric entity, then the returned index has m_type = ComponentIndex.InvalidType and m_index = -1.

ConstructConstObject

Assigns a parent object and a sub-object index to this.
protected void ConstructConstObject(
parentObject,
The parent object.
subobjectIndex
The sub-object index.
)
inherited fromCommonObject

Create

#Since v6.0
Initialize Dimension parameters
public static LinearDimension Create(
dimtype,
AnnotationType.Rotated or AnnotationType.Aligned
dimStyle,
Dimension's DimensionStyle
plane,
Dimension's plane
horizontal,
Horizontal reference direction
defpoint1,
First definition point
defpoint2,
Second definition point
dimlinepoint,
Point on dimension line
rotationInPlane
For Rotated style
)

DataCRC

Returns a CRC calculated from the information that defines the object. This CRC can be used as a quick way to see if two objects are not identical.
[CLSCompliant(false)] public uint DataCRC(
currentRemainder
The current remainder value.
)
inherited fromGeometryBase
CRC of the information the defines the object.

DeleteAllUserStrings

public void DeleteAllUserStrings()
inherited fromGeometryBase

DeleteUserString

public bool DeleteUserString(
key
)
inherited fromGeometryBase

Dispose

Actively reclaims unmanaged resources that this instance uses.
public void Dispose()
inherited fromCommonObject

Dispose

Overridden in order to destroy local display cache information
protected override void Dispose(
disposing
)
inherited fromGeometryBase

Duplicate

Constructs a deep (full) copy of this object.
public virtual GeometryBase Duplicate()
inherited fromGeometryBase
An object of the same type as this, with the same properties and behavior.

DuplicateShallow

Constructs a light copy of this object. By "light", it is meant that the same underlying data is used until something is done to attempt to change it. For example, you could have a shallow copy of a very heavy mesh object and the same underlying data will be used when doing things like inspecting the number of faces on the mesh. If you modify the location of one of the mesh vertices, the shallow copy will create a full duplicate of the underlying mesh data and the shallow copy will become a deep copy.
public GeometryBase DuplicateShallow()
inherited fromGeometryBase
An object of the same type as this object.

This behavior is overridden by implementing classes.

EnsurePrivateCopy

If you want to keep a copy of this class around by holding onto it in a variable after a command completes, call EnsurePrivateCopy to make sure that this class is not tied to the document. You can call this function as many times as you want.
public void EnsurePrivateCopy()
inherited fromCommonObject

Explode

Explodes this dimension into its geometric components.
public GeometryBase[] Explode()
inherited fromDimension
An array of Curve and TextEntity objects. If the leader is using user-defined arrowheads, InstanceReferenceGeometry objects will be included.

FromPoints

#Since v5.0
Initializes a new instance of the LinearDimension class, based on three points.
public static LinearDimension FromPoints(
extensionLine1End,
extensionLine2End,
pointOnDimensionLine
)

Get3dPoints

#Since v6.0
Get locations of dimension's 3d points
[ConstOperation] public bool Get3dPoints(
out Point3d
extensionLine1End,
First definition point
out Point3d
extensionLine2End,
Second definition point
out Point3d
arrowhead1End,
First arrowhead point
out Point3d
arrowhead2End,
Second Arrowhead point
out Point3d
dimlinepoint,
Point on dimension line
out Point3d
textpoint
Text location
)
true = success

GetBoundingBox

Bounding box solver. Gets the world axis aligned bounding box for the geometry.
[ConstOperation] public BoundingBox GetBoundingBox(
accurate
If true, a physically accurate bounding box will be computed. If not, a bounding box estimate will be computed. For some geometry types there is no difference between the estimate and the accurate bounding box. Estimated bounding boxes can be computed much (much) faster than accurate (or "tight") bounding boxes. Estimated bounding boxes are always similar to or larger than accurate bounding boxes.
)
inherited fromGeometryBase
The bounding box of the geometry in world coordinates or BoundingBox.Empty if not bounding box could be found.

GetBoundingBox

Aligned Bounding box solver. Gets the plane aligned bounding box.
[ConstOperation] public BoundingBox GetBoundingBox(
plane,
Orientation plane for BoundingBox.
out Box
worldBox
Aligned box in World coordinates.
)
inherited fromGeometryBase
A BoundingBox in plane coordinates.

GetBoundingBox

Aligned Bounding box solver. Gets the plane aligned bounding box.
[ConstOperation] public BoundingBox GetBoundingBox(
plane
Orientation plane for BoundingBox.
)
inherited fromGeometryBase
A BoundingBox in plane coordinates.

GetBoundingBox

Aligned bounding box solver. Gets the world axis aligned bounding box for the transformed geometry.
public override BoundingBox GetBoundingBox(
xform
Transformation to apply to bounding box after calculation. The geometry is not modified.
)
inherited fromAnnotationBase
The bounding box of the transformed geometry in world coordinates or BoundingBox.Empty if not bounding box could be found.

GetDimensionStyle

Return the proper dimension style from which to get properties for this annotation object If this object has style overrides, those will be included in the returned dimension style and the style will be updated to include the current state of the parent style for non-overridden fields
[ConstOperation] public DimensionStyle GetDimensionStyle(
parentDimStyle
)
inherited fromAnnotationBase

GetDisplayLines

#
[ConstOperation] public bool GetDisplayLines(
style,
scale,
lines
)

GetDistanceDisplayText

#Since v9.0
[ConstOperation] public string GetDistanceDisplayText()

GetDistanceDisplayText

#Since v6.0 Obsolete v9.0
[ConstOperation] public string GetDistanceDisplayText(
unitsystem,
style
)

GetObjectData

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] public virtual void GetObjectData(
info,
The System.Runtime.Serialization.SerializationInfo to populate with data.
context
The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.
)
inherited fromCommonObject

GetPlainTextWithRunMap

Return plain text string for this annotation with field expressions unevaluated.
public string GetPlainTextWithRunMap(
ref int[]
map
an array of int values in groups of 3: run index, character start position, and length.
)
inherited fromAnnotationBase
A plain text string.

GetTextRectangle

#Since v6.0
[ConstOperation] public bool GetTextRectangle(
out Point3d[]
corners
)

GetTextTransform

Get the transform for this text object's text geometry
[ConstOperation] public Transform GetTextTransform(
viewport,
Viewport where text is being used
style,
Dimension's DimensionStyle
textScale,
Scale to apply to text
drawForward
Draw text front-facing
)
inherited fromDimension

GetUserString

Gets user string from this geometry.
public string GetUserString(
key
id used to retrieve the string.
)
inherited fromGeometryBase
string associated with the key if successful. null if no key was found.

GetUserStrings

Gets a copy of all (user key string, user value string) pairs attached to this geometry.
public NameValueCollection GetUserStrings()
inherited fromGeometryBase
A new collection.

IsAllBold

Returns true if all of the text in the annotation is Bold, otherwise returns false
public bool IsAllBold()
inherited fromAnnotationBase

IsAllItalic

Returns true if all of the text in the annotation is Italic, otherwise returns false
public bool IsAllItalic()
inherited fromAnnotationBase

IsAllUnderlined

Returns true if all of the text in the annotation is Underlined, otherwise returns false
public bool IsAllUnderlined()
inherited fromAnnotationBase

IsPropertyOverridden

Returns true if a property is overridden
[ConstOperation] public bool IsPropertyOverridden(
Field
field
)
inherited fromAnnotationBase

IsValidWithLog

Determines if an object is valid. Also provides a report on errors if this object happens not to be valid.
public bool IsValidWithLog(
out string
log
A textual log. This out parameter is assigned during this call.
)
inherited fromCommonObject
true if this object is valid; false otherwise.

MakeDeformable

If possible, converts the object into a form that can be accurately modified with "squishy" transformations like projections, shears, an non-uniform scaling.
public bool MakeDeformable()
inherited fromGeometryBase
false if object cannot be converted to a deformable object. true if object was already deformable or was converted into a deformable object.

MemoryEstimate

Computes an estimate of the number of bytes that this object is using in memory.
[CLSCompliant(false)] [ConstOperation] public uint MemoryEstimate()
inherited fromGeometryBase
An estimated memory footprint.

NonConstOperation

Destroy cache handle
protected override void NonConstOperation()
inherited fromGeometryBase

OnSwitchToNonConst

Is called when a non-constant operation occurs.
protected override void OnSwitchToNonConst()
inherited fromGeometryBase

Rotate

Rotates the object about the specified axis. A positive rotation angle results in a counter-clockwise rotation about the axis (right hand rule).
public bool Rotate(
angleRadians,
Angle of rotation in radians.
rotationAxis,
Direction of the axis of rotation.
rotationCenter
Point on the axis of rotation.
)
inherited fromGeometryBase
true if geometry successfully rotated.

RunReplace

Replace text within a formatted string
public bool RunReplace(
replaceString,
startRunIndex,
startRunPosition,
endRunIndex,
endRunPosition
)
inherited fromAnnotationBase

Scale

Scales the object by the specified factor. The scale is centered at the origin.
public bool Scale(
scaleFactor
The uniform scaling factor.
)
inherited fromGeometryBase
true if geometry successfully scaled.

SetAltDimensionLengthDisplayWithZeroSuppressionReset

public void SetAltDimensionLengthDisplayWithZeroSuppressionReset()
inherited fromDimension

SetBold

public virtual bool SetBold(
set_on
)
inherited fromAnnotationBase

SetDimensionLengthDisplayWithZeroSuppressionReset

public void SetDimensionLengthDisplayWithZeroSuppressionReset()
inherited fromDimension

SetFacename

public virtual bool SetFacename(
set_on,
facename
)
inherited fromAnnotationBase

SetItalic

public virtual bool SetItalic(
set_on
)
inherited fromAnnotationBase

SetLocations

#Since v5.0
Sets the three locations of the point, using two-dimensional points that refer to the plane of the annotation.
public void SetLocations(
extensionLine1End,
extensionLine2End,
pointOnDimensionLine
)

SetOverrideDimStyle

Set a style including overrides for this annotation object. The DimensionStyle OverrideStyle must have the override fields marked as overridden and must have it's Id set to nil. Use DimensionStyle.SetFieldOverride(Field field) and related functions to manage override settings. To override a field, the field value must be set and the field must be marked as an override. The DimensionStyle passed in here must not be in the dimstyle table
public bool SetOverrideDimStyle(
OverrideStyle
)
inherited fromAnnotationBase

SetRichText

Sets the annotation's text as rich text (RTF), optionally using a specified dimension style for formatting overrides.
public void SetRichText(
rtfText,
The RTF (Rich Text Format) string to assign to the annotation.
dimstyle
The dimension style to use for formatting overrides, or null to use the current style.
)
inherited fromAnnotationBase

SetUnderline

public virtual bool SetUnderline(
set_on
)
inherited fromAnnotationBase

SetUserString

Attach a user string (key,value combination) to this geometry.
public bool SetUserString(
key,
id used to retrieve this string.
value
string associated with key.
)
inherited fromGeometryBase
true on success.

ToJSON

Create a JSON string representation of this object
public string ToJSON()
inherited fromCommonObject

Transform

Transforms the geometry. If the input Transform has a SimilarityType of OrientationReversing, you may want to consider flipping the transformed geometry after calling this function when it makes sense. For example, you may want to call Flip() on a Brep after transforming it.
public bool Transform(
Transform
xform
Transformation to apply to geometry.
)
inherited fromGeometryBase
true if geometry successfully transformed.

Translate

Translates the object along the specified vector.
public bool Translate(
x,
The X component.
y,
The Y component.
z
The Z component.
)
inherited fromGeometryBase
true if geometry successfully translated.

Translate

Translates the object along the specified vector.
public bool Translate(
translationVector
A moving vector.
)
inherited fromGeometryBase
true if geometry successfully translated.

UpdateDimensionText

Remakes dimension text geometry object and sets it on the dimension.
public void UpdateDimensionText(
style,
The dimension style.
units
The length units.
)
inherited fromDimension

UpdateDimensionText

Remakes dimension text geometry object and sets it on the dimension.
public void UpdateDimensionText(
style,
The dimension style.
units
The unit system.
)
Obsoleteinherited fromDimension

WrapText

Wrap text
public void WrapText()
inherited fromAnnotationBase