# Method RemoveZ

#### RemoveZ(Geometry)

Return a copy of the given geometry with its z-coordinate removed.

##### Declaration

`public static Geometry RemoveZ(this Geometry geometry)`

##### Parameters

Type | Name | Description |
---|---|---|

Geometry | geometry | A geometry. |

##### Returns

Type | Description |
---|---|

Geometry | A copy of the given geometry with its z-coordinate removed. |

##### Remarks

The resulting geometry will have HasM `false`

. If the
given geometry has no z-values the given geometry is returned.

Supports true curves.

### Applies to

## Platforms and versions

Target | Versions |
---|---|

.NET Standard 2.0 | 100.3 - 200.4 |

.NET | 100.13 - 200.4 |

.NET Windows | 100.13 - 200.4 |

.NET Android | 200.0 - 200.4 |

.NET iOS | 200.0 - 200.4 |

.NET Framework | 100.1 - 200.4 |

Xamarin.Android | 100.1 - 100.15 |

Xamarin.iOS | 100.1 - 100.15 |

UWP | 100.1 - 200.4 |

##### Relevant samples

Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.