Aspose::Page::EPS::PsDocument::FillAndStrokeText method

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

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

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)
ParameterTypeDescription
textSystem::StringThe text to add.
advancesSystem::ArrayPtr<float>An array of glyphs width. It’s length must comply with the number of glyphs in the string.
drFontSystem::SharedPtr<Aspose::Page::Font::DrFont>DrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillPaintSystem::SharedPtr<System::Drawing::Brush>The fill used for painting glyphs interior.
strokeSystem::SharedPtr<System::Drawing::Pen>The stroke used for drawing glyphs contours.

See Also

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

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

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)
ParameterTypeDescription
textSystem::StringThe text to add.
advancesSystem::ArrayPtr<float>An array of glyphs width. It’s length must comply with the number of glyphs in the string.
fontSystem::SharedPtr<System::Drawing::Font>System font that will be used to draw text.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillPaintSystem::SharedPtr<System::Drawing::Brush>The fill used for painting glyphs interior.
strokeSystem::SharedPtr<System::Drawing::Pen>The stroke used for drawing glyphs contours.

See Also

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

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

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)
ParameterTypeDescription
textSystem::StringThe text to add.
drFontSystem::SharedPtr<Aspose::Page::Font::DrFont>DrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillPaintSystem::SharedPtr<System::Drawing::Brush>The fill used for painting glyphs interior.
strokeSystem::SharedPtr<System::Drawing::Pen>The stroke used for drawing glyphs contours.

See Also

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

Adds a text string by filling interrior of glyphs and drawing glyphs contours.

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)
ParameterTypeDescription
textSystem::StringThe text to add.
fontSystem::SharedPtr<System::Drawing::Font>System font that will be used to draw text.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillPaintSystem::SharedPtr<System::Drawing::Brush>The fill used for painting glyphs interior.
strokeSystem::SharedPtr<System::Drawing::Pen>The stroke used for drawing glyphs contours.

See Also