Aspose::Page::EPS::PsDocument::FillText 方法
内容
[
隐藏
]PsDocument::FillText(System::String, System::ArrayPtr<float>, System::SharedPtr<Aspose::Page::Font::DrFont>, float, float) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| 前进 | System::ArrayPtr<float> | 字形宽度的数组。其长度必须与字符串中的字形数量相匹配。 |
| drFont | System::SharedPtr<Aspose::Page::Font::DrFont> | DrFont 将用于绘制文本。它可以与位于自定义文件夹中的自定义字体一起使用。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
另见
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class DrFont
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::ArrayPtr<float>, System::SharedPtr<Aspose::Page::Font::DrFont>, float, float, System::SharedPtr<System::Drawing::Brush>) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| 前进 | System::ArrayPtr<float> | 字形宽度的数组。其长度必须与字符串中的字形数量相匹配。 |
| drFont | System::SharedPtr<Aspose::Page::Font::DrFont> | DrFont 将用于绘制文本。它可以与位于自定义文件夹中的自定义字体一起使用。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
| fill | System::SharedPtr<System::Drawing::Brush> | 用于绘制字形的填充。 |
备注
///
另见
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class DrFont
- Class Brush
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::ArrayPtr<float>, System::SharedPtr<System::Drawing::Font>, float, float) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<System::Drawing::Font> font, float x, float y)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| 前进 | System::ArrayPtr<float> | 字形宽度的数组。其长度必须与字符串中的字形数量相匹配。 |
| 字体 | System::SharedPtr<System::Drawing::Font> | 用于绘制文本的字体。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
另见
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Font
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::ArrayPtr<float>, System::SharedPtr<System::Drawing::Font>, float, float, System::SharedPtr<System::Drawing::Brush>) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<System::Drawing::Font> font, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| 前进 | System::ArrayPtr<float> | 字形宽度的数组。其长度必须与字符串中的字形数量相匹配。 |
| font | System::SharedPtr<System::Drawing::Font> | System 将用于绘制文本的字体。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
| fill | System::SharedPtr<System::Drawing::Brush> | 用于绘制字形的填充。 |
另见
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Font
- Class Brush
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::SharedPtr<Aspose::Page::Font::DrFont>, float, float) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| drFont | System::SharedPtr<Aspose::Page::Font::DrFont> | DrFont 将用于绘制文本。它可以与位于自定义文件夹中的自定义字体一起使用。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
另见
- Class String
- Typedef SharedPtr
- Class DrFont
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::SharedPtr<Aspose::Page::Font::DrFont>, float, float, System::SharedPtr<System::Drawing::Brush>) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| drFont | System::SharedPtr<Aspose::Page::Font::DrFont> | DrFont 将用于绘制文本。它可以与位于自定义文件夹中的自定义字体一起使用。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
| fill | System::SharedPtr<System::Drawing::Brush> | 用于绘制字形的填充。 |
另见
- Class String
- Typedef SharedPtr
- Class DrFont
- Class Brush
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::SharedPtr<System::Drawing::Font>, float, float) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<System::Drawing::Font> font, float x, float y)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| font | System::SharedPtr<System::Drawing::Font> | System 将用于绘制文本的字体。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
另见
- Class String
- Typedef SharedPtr
- Class Font
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
PsDocument::FillText(System::String, System::SharedPtr<System::Drawing::Font>, float, float, System::SharedPtr<System::Drawing::Brush>) method
通过填充字形内部来添加文本字符串。
void Aspose::Page::EPS::PsDocument::FillText(System::String text, System::SharedPtr<System::Drawing::Font> font, float x, float y, System::SharedPtr<System::Drawing::Brush> fill)
| Parameter | Type | 描述 |
|---|---|---|
| text | System::String | 要添加的文本。 |
| font | System::SharedPtr<System::Drawing::Font> | System 将用于绘制文本的字体。 |
| x | 单精度浮点数 | 文本起点的 X 坐标。 |
| y | 单精度浮点数 | 文本起点的 Y 坐标。 |
| fill | System::SharedPtr<System::Drawing::Brush> | 用于绘制字形的填充。 |
另见
- Class String
- Typedef SharedPtr
- Class Font
- Class Brush
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++