AnnotationScale Class

This class defines an annotation scale as a context object.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.DatabaseServicesObjectContext
          Teigha.DatabaseServicesAnnotationScale

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public class AnnotationScale : ObjectContext

The AnnotationScale type exposes the following members.

Constructors
  Name Description
Public method AnnotationScale Default constructor for the AnnotationScale class.
Top
Properties
  Name Description
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property CollectionName Property that represents the name of the context collection in which the annotation scale is stored.
(Overrides ObjectContextCollectionName)
Public property DrawingUnits Property that represents drawing units of the annotation scale.
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property IsTemporaryScale Property that indicates whether annotation scales are stored temporarily in the drawing.
Public property Name Property that represents the name of the annotation scale. It is recommended to access the annotation scale by its unique identifier because an annotation scale name can change.
(Overrides ObjectContextName)
Public property PaperUnits Property that represents paper units. The paper units must be positive and non-zero. Annotation scales are represented as a ratio of paper units to drawing units.
Public property Scale Property that represents paper units. The paper units must be positive and non-zero. Annotation scales are represented as a ratio of paper units to drawing units.
Public property UniqueIdentifier Property that represents a unique identifier of an annotation scale.
(Overrides ObjectContextUniqueIdentifier)
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Clone
(Inherited from RXObject)
Public method CompareTo
(Inherited from RXObject)
Public method CopyFrom
(Inherited from RXObject)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetRXClass
(Inherited from RXObject)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Public method QueryX
(Inherited from RXObject)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method X
(Inherited from RXObject)
Top
Remarks
The context is the current viewport scale which can determine the properties of annotations in the viewport. You can get objects of this class using the AnnotationScale context collection. An annotation scale is the ratio of paper units to drawing units, for example, 1 mm to 1 meter for a scale of 0.01.
See Also

©  Bricsys NV. All rights reserved.