Class GeomFiler
Helper methods for ISTGeomFiler
Inherited Members
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class GeomFiler
Methods
CloseFile(ComWrapper<ISTGeomFiler>)
Finish writing the SGF file
Declaration
public static bool CloseFile(this ComWrapper<ISTGeomFiler> geomFilerCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ISTGeomFiler> | geomFilerCom | Object |
Returns
| Type | Description |
|---|---|
| bool | Success status |
OpenFile(ComWrapper<ISTGeomFiler>, string, ISTGeomReceiver)
Open the SGF file and read it
Declaration
public static bool OpenFile(this ComWrapper<ISTGeomFiler> geomFilerCom, string fileName, ISTGeomReceiver receiver)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ISTGeomFiler> | geomFilerCom | Object |
| string | fileName | The path to the SGF file |
| ISTGeomReceiver | receiver | The interface where the SGF file will be read |
Returns
| Type | Description |
|---|---|
| bool | Success status |
StartFile(ComWrapper<ISTGeomFiler>, string)
Start writing SGF file
Declaration
public static bool StartFile(this ComWrapper<ISTGeomFiler> geomFilerCom, string fileName)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ISTGeomFiler> | geomFilerCom | Object |
| string | fileName | The path to the SGF file |
Returns
| Type | Description |
|---|---|
| bool | Success status |