Aspose::Page::EPS::PsDocument::FillAndStrokeText method
Contents
[
Hide
]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)
Parameter | Type | Description |
---|---|---|
text | System::String | The text to add. |
advances | System::ArrayPtr<float> | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
drFont | System::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. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
fillPaint | System::SharedPtr<System::Drawing::Brush> | The fill used for painting glyphs interior. |
stroke | System::SharedPtr<System::Drawing::Pen> | The stroke used for drawing glyphs contours. |
See Also
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class DrFont
- Class Brush
- Class Pen
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
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)
Parameter | Type | Description |
---|---|---|
text | System::String | The text to add. |
advances | System::ArrayPtr<float> | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
font | System::SharedPtr<System::Drawing::Font> | System font that will be used to draw text. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
fillPaint | System::SharedPtr<System::Drawing::Brush> | The fill used for painting glyphs interior. |
stroke | System::SharedPtr<System::Drawing::Pen> | The stroke used for drawing glyphs contours. |
See Also
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Font
- Class Brush
- Class Pen
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
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)
Parameter | Type | Description |
---|---|---|
text | System::String | The text to add. |
drFont | System::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. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
fillPaint | System::SharedPtr<System::Drawing::Brush> | The fill used for painting glyphs interior. |
stroke | System::SharedPtr<System::Drawing::Pen> | The stroke used for drawing glyphs contours. |
See Also
- Class String
- Typedef SharedPtr
- Class DrFont
- Class Brush
- Class Pen
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++
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)
Parameter | Type | Description |
---|---|---|
text | System::String | The text to add. |
font | System::SharedPtr<System::Drawing::Font> | System font that will be used to draw text. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
fillPaint | System::SharedPtr<System::Drawing::Brush> | The fill used for painting glyphs interior. |
stroke | System::SharedPtr<System::Drawing::Pen> | The stroke used for drawing glyphs contours. |
See Also
- Class String
- Typedef SharedPtr
- Class Font
- Class Brush
- Class Pen
- Class PsDocument
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++