Method ToString
ToString(IShape)
Writes the shape to a String using the old/deprecated LegacyShapeReadWriterFormat. The NTS based subclass will write it to WKT if the legacy format doesn't support that shape.
Spatial4n in the near future won't support writing shapes to strings.
Declaration
[Obsolete]
public virtual string ToString(IShape shape)
Parameters
Type | Name | Description |
---|---|---|
IShape | shape | non-null |
Returns
Type | Description |
---|---|
System.String | non-null |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()