Aspose::Page::EPS::PsDocument::FillAndStrokeText 方法

PsDocument::FillAndStrokeText(System::String, System::ArrayPtr<float>, System::SharedPtr<Aspose::Page::Font::DrFont>, float, float, System::SharedPtr<System::Drawing::Brush>, System::SharedPtr<System::Drawing::Pen>) method

通过填充字形内部并绘制字形轮廓来添加文本字符串。

void Aspose::Page::EPS::PsDocument::FillAndStrokeText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y, System::SharedPtr<System::Drawing::Brush> fillPaint, System::SharedPtr<System::Drawing::Pen> stroke)
ParameterType描述
textSystem::String要添加的文本。
前进System::ArrayPtr<float>字形宽度的数组。其长度必须与字符串中的字形数量相匹配。
drFontSystem::SharedPtr<Aspose::Page::Font::DrFont>DrFont 将用于绘制文本。它可以与位于自定义文件夹中的自定义字体一起使用。
x单精度浮点数文本起点的 X 坐标。
y单精度浮点数文本起点的 Y 坐标。
fillPaintSystem::SharedPtr<System::Drawing::Brush>用于绘制字形内部的填充。
strokeSystem::SharedPtr<System::Drawing::Pen>用于绘制字形轮廓的描边。

另见

PsDocument::FillAndStrokeText(System::String, System::ArrayPtr<float>, System::SharedPtr<System::Drawing::Font>, float, float, System::SharedPtr<System::Drawing::Brush>, System::SharedPtr<System::Drawing::Pen>) method

通过填充字形内部并绘制字形轮廓来添加文本字符串。

void Aspose::Page::EPS::PsDocument::FillAndStrokeText(System::String text, System::ArrayPtr<float> advances, System::SharedPtr<System::Drawing::Font> font, float x, float y, System::SharedPtr<System::Drawing::Brush> fillPaint, System::SharedPtr<System::Drawing::Pen> stroke)
ParameterType描述
textSystem::String要添加的文本。
前进System::ArrayPtr<float>字形宽度的数组。其长度必须与字符串中的字形数量相匹配。
fontSystem::SharedPtr<System::Drawing::Font>System 将用于绘制文本的字体。
x单精度浮点数文本起点的 X 坐标。
y单精度浮点数文本起点的 Y 坐标。
fillPaintSystem::SharedPtr<System::Drawing::Brush>用于绘制字形内部的填充。
strokeSystem::SharedPtr<System::Drawing::Pen>用于绘制字形轮廓的描边。

另见

PsDocument::FillAndStrokeText(System::String, System::SharedPtr<Aspose::Page::Font::DrFont>, float, float, System::SharedPtr<System::Drawing::Brush>, System::SharedPtr<System::Drawing::Pen>) method

通过填充字形内部并绘制字形轮廓来添加文本字符串。

void Aspose::Page::EPS::PsDocument::FillAndStrokeText(System::String text, System::SharedPtr<Aspose::Page::Font::DrFont> drFont, float x, float y, System::SharedPtr<System::Drawing::Brush> fillPaint, System::SharedPtr<System::Drawing::Pen> stroke)
ParameterType描述
textSystem::String要添加的文本。
drFontSystem::SharedPtr<Aspose::Page::Font::DrFont>DrFont 将用于绘制文本。它可以与位于自定义文件夹中的自定义字体一起使用。
x单精度浮点数文本起点的 X 坐标。
y单精度浮点数文本起点的 Y 坐标。
fillPaintSystem::SharedPtr<System::Drawing::Brush>用于绘制字形内部的填充。
strokeSystem::SharedPtr<System::Drawing::Pen>用于绘制字形轮廓的描边。

另见

PsDocument::FillAndStrokeText(System::String, System::SharedPtr<System::Drawing::Font>, float, float, System::SharedPtr<System::Drawing::Brush>, System::SharedPtr<System::Drawing::Pen>) method

通过填充字形内部并绘制字形轮廓来添加文本字符串。

void Aspose::Page::EPS::PsDocument::FillAndStrokeText(System::String text, System::SharedPtr<System::Drawing::Font> font, float x, float y, System::SharedPtr<System::Drawing::Brush> fillPaint, System::SharedPtr<System::Drawing::Pen> stroke)
ParameterType描述
textSystem::String要添加的文本。
fontSystem::SharedPtr<System::Drawing::Font>System 将用于绘制文本的字体。
x单精度浮点数文本起点的 X 坐标。
y单精度浮点数文本起点的 Y 坐标。
fillPaintSystem::SharedPtr<System::Drawing::Brush>用于绘制字形内部的填充。
strokeSystem::SharedPtr<System::Drawing::Pen>用于绘制字形轮廓的描边。

另见