Interface IStringWidget
Represents a Widget with string-like layouting.
Assembly: Syncfusion.DLS.Base.dll
public interface IStringWidget : ISplitLeafWidget, ILeafWidget, IWidget, ITextMeasurable
Properties
Text
Declaration
Property Value
Type |
Description |
System.String |
|
Methods
Draw specified string to custom graphics.
Declaration
void Draw(CustomGraphics cg, LayoutedWidget ltWidget, string text)
Parameters
GetTextAscent(CustomGraphics)
Declaration
double GetTextAscent(CustomGraphics graphics)
Parameters
Returns
Type |
Description |
System.Double |
|
Gets position of specified symbol in specified string
Declaration
int OffsetToIndex(CustomGraphics graphics, double offset, string text)
Parameters
Type |
Name |
Description |
CustomGraphics |
graphics |
|
System.Double |
offset |
|
System.String |
text |
|
Returns
Type |
Description |
System.Int32 |
|