Description
Adds a polygon to this path.
Syntax
GpStatus WINGDIPAPI GdipAddPathString(
GpPath *path,
GDIPCONST WCHAR
*string,
INT length,
GDIPCONST
GpFontFamily *family,
INT style,
REAL emSize,
GDIPCONST RectF
*layoutRect,
GDIPCONST
GpStringFormat *format
);
PowerBASIC Syntax
DECLARE FUNCTION GdipAddPathString ( _
BYVAL path AS
DWORD, _
BYVAL pString AS
STRING, _
BYVAL length AS
LONG, _
BYVAL family AS
DWORD, _
BYVAL lStyle AS
LONG, _
BYVAL emSize AS
SINGLE, _
BYREF layoutRect
AS RectF, _
BYVAL pFormat AS
DWORD _
) AS LONG
Parameters
path
[in] Pointer to a GraphicsPath
object.
string
[in] Pointer to a wide-character string.
lenght
[in] Long integer value that specifies the
number of characters to display. If the string parameter points to a
NULL-terminated string, this parameter can be set to –1.
family
[in] Pointer to a FontFamily
object that specifies the font family for the string.
style
[in] Long integer value that specifies the
style of the typeface. This value must be an element of the FontStyle
enumeration or the result of a bitwise OR applied to two or more of
these elements. For example,
FontStyleBold | FontStyleUnderline | FontStyleStrikeout
sets the style as a combination of the three styles.
emSize
[in] Simple precision value that specifies the
em size, in world units, of the string characters.
layoutRect
[in] Reference to a
RectF
structure that specifies, in world units, the bounding rectangle for
the string.
format
[in] Pointer to a StringFormat
object that specifies layout information (alignment, trimming, tab
stops, and the like) for the string.
|