DimensionSurrogate Class

Defines the Dimension surrogate.
Public MustInherit Class DimensionSurrogate 
Inherits TextSurrogate
This language is not supported or no code example is available.
public abstract class DimensionSurrogate : TextSurrogate
This language is not supported or no code example is available.
Name Description
Public constructor DimensionSurrogate(Dimension) Standard constructor.
Top
Name Description
Public property Log Gets the list of errors and warnings generated during the serialization/deserialization processes. (inherited from Surrogate<T>).
Public property ReferenceId Gets the unique id assigned to the surrogate during the process of serialization/deserialization to handle object graph reference. (inherited from SurrogateWithReferenceId<T>).
Top
Methods
 
Name Description
Protected method AfterDeserialize(ProtoBuf.SerializationContext) Called after the object deserialization. (inherited from Surrogate<T>).
Protected method BeforeDeserialize(ProtoBuf.SerializationContext) Called before the object deserialization. (inherited from EntitySurrogate).
Protected method BeforeSerialize(ProtoBuf.SerializationContext) Called before the object serialization. (inherited from EntitySurrogate).
Protected method CheckSurrogateData(contentType, string) Integrity check according to the contentType. (inherited from EntitySurrogate).
Protected method ConvertToObject()
Protected method CopyDataFromObject(Entity)
Protected method CopyDataToObject(Entity)
Protected method CreateGhostEntity(string) Helper method to create a new Ghost entity. (inherited from EntitySurrogate).
Protected method CreateLinearPathOrGhostEntity(Point3D[], Type) Helper method to create a new LinearPath or a new Ghost entity. (inherited from EntitySurrogate).
Protected method CreateMeshOrGhostEntity(Point3D[], IndexTriangle[], Type) Helper method to create a new Mesh or a new Ghost entity. (inherited from EntitySurrogate).
Protected method CreatePointCloudOrGhostEntity(Point3D[], Type) Helper method to create a new PointCloud or a new Ghost entity. (inherited from EntitySurrogate).
Public method Equals(object) Determines whether the specified object is equal to the current object. (inherited from SurrogateWithReferenceId<T>).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode() Serves as the default hash function. (inherited from SurrogateWithReferenceId<T>).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Protected method WriteLog(string) Writes a message into the log. (inherited from Surrogate<T>).
Top
Name Description
Operator Static Implicit Conversion (Entity to EntitySurrogate) Converts the object to the related surrogate during the serialization process. (inherited from EntitySurrogate).
Operator Static Implicit Conversion (EntitySurrogate to Entity) Converts the surrogate to the related object during the deserialization process. (inherited from EntitySurrogate).
Top
Fields
 
Name Description
Public field Alignment See Text.Alignment. (inherited from TextSurrogate).
Public field ArrowheadSize See Dimension.ArrowheadSize.
Public field ArrowsLocation See Dimension.ArrowsLocation.
Public field AutodeskProperties See Entity.AutodeskProperties. (inherited from EntitySurrogate).
Public field Backward See Text.Backward. (inherited from TextSurrogate).
Public field Billboard See Text.Billboard. (inherited from TextSurrogate).
Public field BoxMax See Entity.BoxMax (inherited from EntitySurrogate).
Public field BoxMin See Entity.BoxMin (inherited from EntitySurrogate).
Public field Color See Entity.Color. (inherited from EntitySurrogate).
Public field ColorMethod See Entity.ColorMethod. (inherited from EntitySurrogate).
Protected field DeserializationContent Gets or sets the contentType used for deserialization purpose only. (inherited from EntitySurrogate).
Public field DimLinePosition See Dimension.DimLinePosition.
Public field DimStyle See Dimension.DimStyle.
Public field Distance See Dimension.Distance.
Public field EntityData The Entity.EntityData as ProtoObject. (inherited from EntitySurrogate).
Public field Height See Text.Height. (inherited from TextSurrogate).
Public field LayerName See Entity.LayerName. (inherited from EntitySurrogate).
Public field LineTypeMethod See Entity.LineTypeMethod. (inherited from EntitySurrogate).
Public field LineTypeName See Entity.LineTypeName. (inherited from EntitySurrogate).
Public field LineTypeScale See Entity.LineTypeScale. (inherited from EntitySurrogate).
Public field LineWeight See Entity.LineWeight. (inherited from EntitySurrogate).
Public field LineWeightMethod See Entity.LineWeightMethod. (inherited from EntitySurrogate).
Public field LinearDimensionUnits See Dimension.LinearDimensionUnits.
Public field LinearScale See Dimension.LinearScale.
Public field LowerValue See Dimension.LowerValue.
Public field MaterialName See Entity.MaterialName. (inherited from EntitySurrogate).
Public field Plane See PlanarEntity.Plane. (inherited from TextSurrogate).
Public field Precision See Dimension.Precision.
Public field PrintOrder See Entity.PrintOrder (inherited from EntitySurrogate).
Public field ScaleOverall See Dimension.ScaleOverall.
Public field ScalingForHeight See Dimension.ScalingForHeight.
Public field Selectable See Entity.Selectable. (inherited from EntitySurrogate).
Public field Simplify See Text.Simplify. (inherited from TextSurrogate).
Public field StyleName See Text.StyleName. (inherited from TextSurrogate).
Public field SuppressLeadingZeros See Dimension.SuppressLeadingZeros.
Public field SuppressTrailingZeros See Dimension.SuppressTrailingZeros.
Public field Surrogate.Tag Gets or sets the file header tag (for deserialization purpose only). (inherited from Surrogate<T>).
Protected field Surrogate.Version Gets or sets the Eyeshot proprietary file format version. (inherited from Surrogate<T>).
Public field TextColor See Dimension.TextColor.
Public field TextColorMethod See Dimension.TextColorMethod.
Public field TextGap See Dimension.TextGap.
Public field TextLocation See Dimension.TextLocation.
Public field TextOverride See Dimension.TextOverride.
Public field TextPrefix See Dimension.TextPrefix.
Public field TextString See Text.TextString. (inherited from TextSurrogate).
Public field TextSuffix See Dimension.TextSuffix.
Public field ToleranceAlignment See Dimension.ToleranceAlignment
Public field ToleranceMode See Dimension.ToleranceMode.
Public field TolerancePrecision See Dimension.TolerancePrecision.
Public field ToleranceSuppressLeadingZeros See Dimension.ToleranceSuppressLeadingZeros.
Public field ToleranceSuppressTralingZeros See Dimension.ToleranceSuppressTralingZeros.
Public field Type Gets the entity type for logging purpose (Not supported entity type, i.e. different Eyeshot editions). (inherited from EntitySurrogate).
Public field UpperValue See Dimension.UpperValue.
Public field UpsideDown See Text.UpsideDown. (inherited from TextSurrogate).
Public field Visible See Entity.Visible. (inherited from EntitySurrogate).
Public field WidthFactor See Text.WidthFactor. (inherited from TextSurrogate).
Public field XData See AutodeskMiscProperties.XData. (inherited from EntitySurrogate).
Top

.NET Framework

Supported in: 4.8

In this article

Definition