XlineSurrogate Class

Defines the Xline surrogate.
Public Class XlineSurrogate 
Inherits PointSurrogate
This language is not supported or no code example is available.
public class XlineSurrogate : PointSurrogate
This language is not supported or no code example is available.
Name Description
Public constructor XlineSurrogate(Xline) 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() Creates the entity related to the surrogate.
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 AutodeskProperties See Entity.AutodeskProperties. (inherited from EntitySurrogate).
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 Direction See Xline.Direction.
Public field EntityData The Entity.EntityData as ProtoObject. (inherited from EntitySurrogate).
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 MaterialName See Entity.MaterialName. (inherited from EntitySurrogate).
Public field PrintOrder See Entity.PrintOrder (inherited from EntitySurrogate).
Public field Selectable See Entity.Selectable. (inherited from EntitySurrogate).
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 Type Gets the entity type for logging purpose (Not supported entity type, i.e. different Eyeshot editions). (inherited from EntitySurrogate).
Public field Vertices See Entity.Vertices (inherited from PointSurrogate).
Public field Visible See Entity.Visible. (inherited from EntitySurrogate).
Public field XData See AutodeskMiscProperties.XData. (inherited from EntitySurrogate).
Top

.NET Framework

Supported in: 4.8

In this article

Definition