## PsDocument::ClipText method


根据给定字体的指定文本轮廓添加裁剪。

```cpp
void Aspose::Page::EPS::PsDocument::ClipText(System::String text, System::SharedPtr<System::Drawing::Font> font, float x, float y)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| text | System::String | 文本。 |
| 字体 | System::SharedPtr\<System::Drawing::Font\> | 字体。 |
| x | 单精度浮点数 | 文本位置的 X 坐标。 |
| y | 单精度浮点数 | 文本位置的 Y 坐标。 |

## 另见

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Font](../../../system.drawing/font/)
* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
