GraphicsPath.AddString
Contents
[
Hide
]AddString(string, Font, int, float, PointF)
Adds a text string to this path.
public void AddString(string s, Font font, int style, float emSize, PointF origin)
Parameter | Description |
---|---|
s | The String to add. |
family | A FontFamily that represents the name of the font with which the test is drawn. |
style | A FontStyle enumeration that represents style information about the text (bold, italic, and so on). This must be cast as an integer (see the example code later in this section). |
emSize | The height of the em square box that bounds the character. |
origin | A PointF that represents the point where the text starts. |
format | A StringFormat that specifies text formatting information, such as line spacing and alignment. |
See Also
- class Font
- struct PointF
- class GraphicsPath
- namespace Aspose.Page.Drawing.Drawing2D
- assembly Aspose.Page
AddString(string, Font, int, float, RectangleF)
Adds a text string to this path.
public void AddString(string s, Font font, int style, float emSize, RectangleF layoutRect)
Parameter | Description |
---|---|
s | The String to add. |
family | A FontFamily that represents the name of the font with which the test is drawn. |
style | A FontStyle enumeration that represents style information about the text (bold, italic, and so on). This must be cast as an integer (see the example code later in this section). |
emSize | The height of the em square box that bounds the character. |
layoutRect | A RectangleF that represents the rectangle that bounds the text. |
format | A StringFormat that specifies text formatting information, such as line spacing and alignment. |
See Also
- class Font
- struct RectangleF
- class GraphicsPath
- namespace Aspose.Page.Drawing.Drawing2D
- assembly Aspose.Page