AbstractPath.WithExtension
AbstractPath.WithExtension method
Returns a new AbstractPath
with the file extension changed to the specified value.
public virtual AbstractPath WithExtension(string newExtension)
Parameter | Type | Description |
---|---|---|
newExtension | String | A new extension. |
Return Value
A new AbstractPath
, that points to a file in the same directory, but with a new extension.
Remarks
Usually, an inheritor should not override this method. The default implementation substitutes the extension and calls WithLocation
.
See Also
- class AbstractPath
- namespace Aspose.Gis
- assembly Aspose.GIS