DimensionStyle Class |
Namespace: Rhino.DocObjects
The DimensionStyle type exposes the following members.
Name | Description | |
---|---|---|
DimensionStyle | Create a new non-document controlled annotation style | |
DimensionStyle(SerializationInfo, StreamingContext) | Initializes a new instance of the DimensionStyle class |
Name | Description | |
---|---|---|
AlternateBelowLine | ||
AlternateDimensionLengthDisplay | ||
AlternateLengthFactor | ||
AlternateLengthResolution | ||
AlternatePrefix | ||
AlternateRoundoff | ||
AlternateSuffix | ||
AlternateToleranceResolution | ||
AlternateUnitsDisplay | ||
AlternateZeroSuppress | ||
AngleFormat | ||
AngleResolution | ||
AngleZeroSuppress | ||
AngularRoundoff | ||
ArcLengthSymbol | ||
ArrowBlockId1 | ||
ArrowBlockId2 | ||
ArrowLength | ||
ArrowType1 | ||
ArrowType2 | ||
BaselineSpacing | ||
CentermarkSize | ||
CenterMarkType | ||
ComponentStatus |
Gets or sets the component status of the model component.
(Inherited from ModelComponent.) | |
ComponentType |
Returns DimStyle.
(Overrides ModelComponentComponentType.) | |
DecimalSeparator | ||
DeletedName |
Gets the name of a component that is deleted.
(Inherited from ModelComponent.) | |
DimensionLengthDisplay | ||
DimensionLineExtension | ||
DimensionScale | ||
DimensionScaleValue | ||
DimRadialTextAngleType | ||
DimRadialTextLocation | ||
DimRadialTextOrientation | ||
DimTextAngleType | ||
DimTextLocation | ||
DimTextOrientation | ||
Disposed |
Indicates if this object has been disposed or the
document it originally belonged to has been disposed.
(Inherited from CommonObject.) | |
DrawForward | ||
DrawTextMask | ||
ExtensionLineExtension | ||
ExtensionLineOffset | ||
FitArrow | ||
FitText | ||
FixedExtensionLength | ||
FixedExtensionOn | ||
Font | ||
ForceDimensionLineBetweenExtensionLines | ||
HasFieldOverrides |
Checks if any fields in this DimensionStyle are overrides
| |
HasId |
Returns a value indicating whether the component has an ID.
(Inherited from ModelComponent.) | |
HasIndex |
Returns a value indicating whether the component has an Index.
(Inherited from ModelComponent.) | |
HasName |
Returns a value indicating whether the component has a Name.
(Inherited from ModelComponent.) | |
HasUserData |
Gets true if this class has any custom information attached to it through UserData.
(Inherited from CommonObject.) | |
Id |
Gets or sets the ID of the current instance.
(Inherited from ModelComponent.) | |
IdIsLocked |
Returns a value indicating whether the component ID is already locked.
(Inherited from ModelComponent.) | |
Index |
Gets or sets the model component index attribute.
(Inherited from ModelComponent.) | |
IndexIsLocked |
Returns a value indicating whether the component Index is already locked.
(Inherited from ModelComponent.) | |
InstanceDefinitionModelSerialNumber |
When a component is in a model as part of the information required for a linked instance definition,
this value identifies the linked instance definition reference model.
(Inherited from ModelComponent.) | |
IsChild |
Tests if this DimensionStyle is a child of any other DimensionStyle
| |
IsComponentStatusLocked |
The component status itself can be locked. This returns an indication.
(Inherited from ModelComponent.) | |
IsDeleted | (Overrides ModelComponentIsDeleted.) | |
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.
(Inherited from CommonObject.) | |
IsReference | (Overrides ModelComponentIsReference.) | |
IsSystemComponent |
True if this model component is a system constant.
(Inherited from ModelComponent.)An incomplete list of system constant model components is below:
| |
IsValid | Tests an object to see if it is valid. (Inherited from CommonObject.) | |
LeaderArrowBlockId | ||
LeaderArrowLength | ||
LeaderArrowType | ||
LeaderContentAngleType |
Style of leader content angle
Horizontal
Aligned
Rotated
| |
LeaderCurveType | ||
LeaderHasLanding | ||
LeaderLandingLength | ||
LeaderTextHorizontalAlignment | ||
LeaderTextOrientation | ||
LeaderTextRotationDegrees | ||
LeaderTextRotationRadians |
Angle of leader text for Rotated style
| |
LeaderTextVerticalAlignment | ||
LengthFactor | ||
LengthResolution | ||
MaskColor | ||
MaskColorSource | ||
MaskFrameType | ||
MaskOffset | ||
ModelSerialNumber |
A value identifying the model that manages this component.
(Inherited from ModelComponent.) | |
Name |
Gets or sets the name
(Inherited from ModelComponent.) | |
NameIsLocked |
Returns a value indicating whether the component Name is already locked.
(Inherited from ModelComponent.) | |
ParentId |
Get or Set the Id of this DimensionStyle's parent.
If ParentId is Guid.Empty, this DimensionStyle has no parent
| |
Prefix | ||
ReferenceModelSerialNumber |
When a component is in a model for reference, this value identifies the reference model.
(Inherited from ModelComponent.) | |
Roundoff | ||
ScaleLeftLengthMillimeters | ||
ScaleRightLengthMillimeters | ||
StackFractionFormat | ||
StackHeightScale | ||
Suffix | ||
SuppressArrow1 | ||
SuppressArrow2 | ||
SuppressExtension1 | ||
SuppressExtension2 | ||
TextGap | ||
TextHeight | ||
TextHorizontalAlignment | ||
TextMoveLeader | ||
TextOrientation | ||
TextRotation | ||
TextUnderlined | ||
TextVerticalAlignment | ||
ToleranceFormat | ||
ToleranceHeightScale | ||
ToleranceLowerValue | ||
ToleranceResolution | ||
ToleranceUpperValue | ||
ToleranceZeroSuppress | ||
UserData |
List of custom information that is attached to this class.
(Inherited from CommonObject.) | |
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.
(Inherited from CommonObject.) | |
UserStringCount |
Gets the amount of user strings.
| |
ZeroSuppress |
Name | Description | |
---|---|---|
AlternateDimensionLengthDisplayUnit | ||
ClearAllFieldOverrides |
Sets all the fields in this DimensionStyle to be not overridden
Does not change any dimstyle_id's or parent_id's
| |
ClearFieldOverride |
Set the field as not overridden
| |
ClearId |
Resets the HasId property of the model component to false, if possible.
(Inherited from ModelComponent.) | |
ClearIndex |
Resets the HasIndex property of the model component to false, if possible.
(Inherited from ModelComponent.) | |
ClearName |
Resets the HasName property of the model component to false, if possible.
(Inherited from ModelComponent.) | |
ConstructConstObject |
Assigns a parent object and a sub-object index to this.
(Inherited from CommonObject.) | |
CopyFrom |
Copy settings from source dimension style without changing the name, Id or
index of this DimensionStyle.
| |
CreatePreviewBitmap | ||
DataCRC |
Increments the Cyclic Redundancy Check value by this instance.
(Inherited from ModelComponent.) | |
DeleteAllUserStrings | ||
DeleteUserString | ||
DimensionLengthDisplayUnit | ||
Dispose |
Actively reclaims unmanaged resources that this instance uses.
(Inherited from CommonObject.) | |
Dispose(Boolean) |
For derived class implementers.
(Inherited from CommonObject.)This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method. You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true. Also, you must call the base virtual method within your overriding method. | |
Duplicate | Construct a deep (full) copy of this object. | |
Duplicate(String, Guid, Guid) | Construct a deep (full) copy of this object. | |
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.
(Inherited from CommonObject.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Inherited from CommonObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
(Inherited from CommonObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserString |
Gets user string from this geometry.
| |
GetUserStrings |
Gets a copy of all (user key string, user value string) pairs attached to this geometry.
| |
IsChildOf |
Tests if this DimensionStyle is a child of a specific DimensionStyle
| |
IsFieldOverriden | ||
IsValidWithLog |
Determines if an object is valid. Also provides a report on errors if this
object happens not to be valid.
(Inherited from CommonObject.) | |
LockId |
Locks the component Id property.
(Inherited from ModelComponent.) | |
LockIndex |
Locks the component Index property.
(Inherited from ModelComponent.) | |
LockName |
Locks the component Name property.
(Inherited from ModelComponent.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NonConstOperation |
For derived classes implementers.
(Inherited from CommonObject.)Defines the necessary implementation to free the instance from being constant. | |
OnSwitchToNonConst |
Is called when a non-constant operation first occurs.
(Inherited from CommonObject.) | |
ScaleLengthValues |
Scales all length values by 'scale'
| |
SetFieldOverride | Set a field as overridden | |
SetUserString |
Attach a user string (key,value combination) to this geometry.
| |
ToJSON |
Create a JSON string representation of this object
(Inherited from CommonObject.) | |
ToString |
Returns the name of the model component type, and then its name and index.
(Inherited from ModelComponent.) |