The SampleLine type exposes the following members.

Methods

  NameDescription
Public methodComputeFingerPrint
Compute FingerPrint of the Entity.
(Inherited from Entity.)
Public methodStatic memberCreate(String, ObjectId, Point2dCollection)
Creates a new sample line with specified vertex points.
Public methodStatic memberCreate(String, ObjectId, Double)
Creates a new sample line at a specified station.
Public methodGetMaterialSectionId
Gets MaterialSection objectId by MaterialList GUID and Material GUID.
Public methodGetReferenceInfo
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity.)
Public methodGetSectionId
Gets section objectId generated from the specified source.
Public methodGetSectionIds
Gets the objectId collection of all sections attached on this sample line.
Public methodGetSectionViewIds
Gets the objectId collection of all section views attached on this sample line.

Properties

  NameDescription
Public propertyApplication
Gets the Application. Not currently implemented.
(Inherited from Entity.)
Public propertyDescription
Gets or sets the Entity object's description.
(Inherited from Entity.)
Public propertyDisplayName
Gets the Entity object's display name.
(Inherited from Entity.)
Public propertyDocument
Gets the Document. Not currently implemented.
(Inherited from Entity.)
Public propertyFingerPrint
Gets or sets FingerPrint of the Entity.
(Inherited from Entity.)
Public propertyFolderId
Gets the folder ObjectId of the Entity Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity.)
Public propertyGroupId
Gets the object id of the sample line group it belongs to.
Public propertyIsReferencedSourceExisting
For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing. This indicates whether the reference object has source entity.
(Inherited from Entity.)
Public propertyIsReferenceObject
Gets whether the Entity is a reference object. A reference object is located in another drawing, and linked using a data shortcut or Vault. If the entity is native to the current drawing this property returns false; if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
(Inherited from Entity.)
Public propertyIsReferenceStale
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity.)
Public propertyIsReferenceSubObject
For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject. For example, when iterating through the structure of a pipe network referenced from another drawing, this property is true for each entity.
(Inherited from Entity.)
Public propertyIsReferenceValid
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity.)
Public propertyIsUsed
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity.)
Public propertyLockToStation
Gets or sets a boolean value which specified whether locks the SampleLine to the station of the alignment.
Public propertyName
Gets or sets the Entity object's name.
(Inherited from Entity.)
Public propertyNumber
Gets the assigned sample line number of sample line.
Public propertyShowToolTip
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity.)
Public propertyStation
Gets or sets the station of the sample line.
Public propertyStyleId
Sets the SampleLine style.
(Overrides Entity..::..StyleId.)
Public propertyStyleName
Sets the SampleLine style by Name.
(Overrides Entity..::..StyleName.)
Public propertyVertices
Gets all the vertex points of the sample line.

See Also