---
title: "TransformsProvider..::.EdgeDetect Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_EdgeDetect_1_fe7d0b52.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# TransformsProvider.EdgeDetect Method 
 
Detects edges on the image.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub EdgeDetect ( _mode As EdgeDetectMode _
)
```
 
```csharp
public void EdgeDetect(EdgeDetectMode mode
)
```
 
### Parameters
 
 - mode
     - Type: [Aurigma.GraphicsMill.Transforms.EdgeDetectMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_EdgeDetectMode.htm.md)
 [EdgeDetectMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_EdgeDetectMode.htm.md) value specifying edge detector.
 
## Remarks
 You can also use [EdgeDetect](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_EdgeDetect.htm.md) class to detect edges.
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
