Class Shape
Shape is the base class for all the shapes in the material file.
Inheritance
System.Object
Shape
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DesignData.SDS2.Setup
Assembly: DesignData.SDS2.Setup.dll
Syntax
public class Shape
Remarks
Shape objects are all essentially by value in that when you grab one from a material file you're getting a copy of that data. So making changes to it will not impact the material file. Modifying it, and then setting that modified shape to a material will not yield your modifications; because all shapes set to material must be in the material file.
Properties
IsAvailable
Specifies if the size is available from the mill
Declaration
public bool IsAvailable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SectionSize
The section size string of the shape.
Declaration
public string SectionSize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SourceReference
The reference material this shape is pulled from
Declaration
public string SourceReference { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
Finalize()
Declaration
protected void Finalize()
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()