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
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
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