    

 ## On this page

  

 

 # Class SplineFile

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL](VM.Managed.DAFUL.md)  
Assembly: VMDSB.dll

This base class is to represent the spline file.

```csharp
public sealed class SplineFile : SplineData, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← ObservableObject ← LinkableBase ← LinkContainer ← [SplineData](VM.Managed.DAFUL.SplineData.md) ← [SplineFile](VM.Managed.DAFUL.SplineFile.md)

#### Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

#### Inherited Members

[SplineData.GetPoints()](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints), [SplineData.GetPoints(string)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_String_), [SplineData.GetPoints(List&lt;double&gt;, List&lt;double&gt;)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__), [SplineData.GetPoints(List&lt;double&gt;, List&lt;double&gt;, string)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__System_String_), [SplineData.GetSchema()](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetSchema), [SplineData.ReadXml(XmlReader)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_ReadXml_System_Xml_XmlReader_), [SplineData.WriteXml(XmlWriter)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_WriteXml_System_Xml_XmlWriter_), [SplineData.Type](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_Type), [SplineData.ContainsNegativeNumber](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_ContainsNegativeNumber), LinkContainer.SetModified(), LinkContainer.raise\_OnUpdating(object, LinkEventArgs), LinkContainer.raise\_OnUpdate(object, LinkEventArgs), LinkContainer.raise\_OnDestroying(object, LinkEventArgs), LinkContainer.raise\_OnDestroy(object, LinkEventArgs), LinkContainer.raise\_OnAdded(object, AddToDocEventArgs), LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.SetContainer(IOwned, bool), LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### SplineFile()

Initializes a new instance of the  class.

```csharp
public SplineFile()

```

## Properties

### ContainsNegativeNumber

Gets the flag whether number is negative or not.

```csharp
public override bool ContainsNegativeNumber { get; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### FilePath

Gets or sets the file path.

```csharp
public string FilePath { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### SelectedSplineName

Gets or sets the name of the selected spline.

```csharp
public string SelectedSplineName { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Type

Gets or sets the type.

```csharp
public override SplineData.DataType Type { get; protected set; }

```

#### Property Value

[SplineData](VM.Managed.DAFUL.SplineData.md).[DataType](VM.Managed.DAFUL.SplineData.DataType.md)

## Methods

### GetPoints()

Gets the points.

```csharp
public override IEnumerable<SplineData.Point> GetPoints()

```

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[SplineData](VM.Managed.DAFUL.SplineData.md).[Point](VM.Managed.DAFUL.SplineData.Point.md)&gt;

The point list.

### GetPoints(string)

Gets the points.

```csharp
public override IEnumerable<SplineData.Point> GetPoints(string documentFilePath)

```

#### Parameters

`documentFilePath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The Document file path.

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[SplineData](VM.Managed.DAFUL.SplineData.md).[Point](VM.Managed.DAFUL.SplineData.Point.md)&gt;

The point list.

### GetPoints(List&lt;double&gt;, List&lt;double&gt;)

Gets the points.

```csharp
public override void GetPoints(List<double> lstX, List<double> lstY)

```

#### Parameters

`lstX` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[double](https://learn.microsoft.com/dotnet/api/system.double)&gt;

The LST X.

`lstY` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[double](https://learn.microsoft.com/dotnet/api/system.double)&gt;

The LST Y.

### GetPoints(List&lt;double&gt;, List&lt;double&gt;, string)

Gets the points.

```csharp
public override void GetPoints(List<double> lstX, List<double> lstY, string strDocumentFilePath)

```

#### Parameters

`lstX` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[double](https://learn.microsoft.com/dotnet/api/system.double)&gt;

The LST X.

`lstY` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[double](https://learn.microsoft.com/dotnet/api/system.double)&gt;

The LST Y.

`strDocumentFilePath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The Document file path.

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the  to the class.

```csharp
public override XmlSchema GetSchema()

```

#### Returns

[XmlSchema](https://learn.microsoft.com/dotnet/api/system.xml.schema.xmlschema)

An  that describes the XML representation of the object that is produced by the  method and consumed by the  method.

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp
public override void ReadXml(XmlReader reader)

```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The  stream from which the object is deserialized.

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp
public override void WriteXml(XmlWriter writer)

```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The  stream to which the object is serialized.