## PdfDevice::Clip method


Clips using given shape. Dispatches to writeClip(Rectangle), writeClip(RectangleF) or writeClip(Shape).

```cpp
virtual void Aspose::Page::EPS::Device::PdfDevice::Clip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath> s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| shape | System::SharedPtr\<System::Drawing::Drawing2D::GraphicsPath\> | used for clipping |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* Class [PdfDevice](../)
* Namespace [Aspose::Page::EPS::Device](../../)
* Library [Aspose.Page for C++](../../../)
