AddString()
Contents
[
Hide
]GraphicsPath::AddString(const String&, const SharedPtr<FontFamily>&, int, float, Point, const SharedPtr<StringFormat>&) method
Adds a string of text to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, Point origin, const SharedPtr<StringFormat> &stringFormat)
Arguments
Parameter | Type | Description |
---|---|---|
text | const String& | The text to add |
family | const SharedPtr<FontFamily>& | The font family used to draw the text |
style | int | A FontStyle enumeration value tha specifies the font style to use |
emSize | float | The height of the em square box that bounds each character of the string |
origin | Point | Specifies the location where the text starts |
stringFormat | const SharedPtr<StringFormat>& | The format of the string |
GraphicsPath::AddString(const String&, const SharedPtr<FontFamily>&, int, float, PointF, const SharedPtr<StringFormat>&) method
Adds a string of text to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, PointF origin, const SharedPtr<StringFormat> &stringFormat)
Arguments
Parameter | Type | Description |
---|---|---|
text | const String& | The text to add |
family | const SharedPtr<FontFamily>& | The font family used to draw the text |
style | int | A FontStyle enumeration value tha specifies the font style to use |
emSize | float | The height of the em square box that bounds each character of the string |
origin | PointF | Specifies the location where the text starts |
stringFormat | const SharedPtr<StringFormat>& | The format of the string |
GraphicsPath::AddString(const String&, const SharedPtr<FontFamily>&, int, float, Rectangle, const SharedPtr<StringFormat>&) method
Adds a string of text to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, Rectangle layoutRect, const SharedPtr<StringFormat> &stringFormat)
Arguments
Parameter | Type | Description |
---|---|---|
text | const String& | The text to add |
family | const SharedPtr<FontFamily>& | The font family used to draw the text |
style | int | A FontStyle enumeration value tha specifies the font style to use |
emSize | float | The height of the em square box that bounds each character of the string |
layoutRect | Rectangle | A rectangle that bounds the text |
stringFormat | const SharedPtr<StringFormat>& | The format of the string |
GraphicsPath::AddString(const String&, const SharedPtr<FontFamily>&, int, float, RectangleF, const SharedPtr<StringFormat>&) method
Adds a string of text to the path represented by the current object.
void System::Drawing::Drawing2D::GraphicsPath::AddString(const String &text, const SharedPtr<FontFamily> &family, int style, float emSize, RectangleF layoutRect, const SharedPtr<StringFormat> &stringFormat)
Arguments
Parameter | Type | Description |
---|---|---|
text | const String& | The text to add |
family | const SharedPtr<FontFamily>& | The font family used to draw the text |
style | int | A FontStyle enumeration value tha specifies the font style to use |
emSize | float | The height of the em square box that bounds each character of the string |
layoutRect | RectangleF | A rectangle that bounds the text |
stringFormat | const SharedPtr<StringFormat>& | The format of the string |
See Also
- Typedef SharedPtr
- Class String
- Class FontFamily
- Class Point
- Class StringFormat
- Class GraphicsPath
- Class PointF
- Class Rectangle
- Class RectangleF
- Namespace System::Drawing::Drawing2D
- Library Aspose.Slides