---
title: "Path.Create Method (Path, Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Path_Create_3_302ad613.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# Path.Create Method (Path, Int32, Int32)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Creates a [Path](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Path.htm.md) from the existing clipping path.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public static Path Create(Path clippingPath,int width,int height
)
```
 
### Parameters
 
 - clippingPath
     - Type: [Aurigma.GraphicsMill.Codecs.ClippingPath.Path](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ClippingPath_Path.htm.md)
The clipping path.

 - width
     - Type: System.Int32
Width of an image containing the clipping path.

 - height
     - Type: System.Int32
Height of an image containing the clipping path.
 
## Remarks
  
The clipping path is represented in relative coordinates, therefore you need to specify the height and width of the image.
 
## Examples
  
```csharp
using (var reader = new JpegReader(@"Images\1.jpg"))
{
    var clippingPath = reader.ClippingPaths[0];
    var path = Path.Create(clippingPath, reader.Width, reader.Height);
}
```
   
## See Also

### Reference

- [Path Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Path.htm.md)
- [Create Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_Path_Create.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
