Class RichTextBuilder
Inheritance
System.Object
RichTextBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class RichTextBuilder
Fields
FullColorAttributeName
Declaration
public const string FullColorAttributeName = "data-full-color"
Field Value
| Type |
Description |
| System.String |
|
Methods
AddColorToPalette(List<Color>, Color)
Declaration
public static int AddColorToPalette(List<Color> palette, Color color)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<Color> |
palette |
|
| Color |
color |
|
Returns
| Type |
Description |
| System.Int32 |
|
ApplyLastSpanStyle(PsdTextFrame, BaseTextItem, IGmColorConverter)
Declaration
public static void ApplyLastSpanStyle(PsdTextFrame textFrame, BaseTextItem textItemHandler, IGmColorConverter gmColorConverter)
Parameters
GetRichTextAndColorPalette(IFontService, IGmColorConverter, PsdTextFrame, BaseTextItem, Boolean)
Declaration
public static Tuple<string, List<Color>> GetRichTextAndColorPalette(IFontService fontService, IGmColorConverter gmColorConverter, PsdTextFrame textFrame, BaseTextItem textItem, bool legacyTextEngine)
Parameters
Returns
| Type |
Description |
| System.Tuple<System.String, System.Collections.Generic.List<Color>> |
|
NormalizeString(String, FontCaps)
Declaration
public static string NormalizeString(string str, FontCaps caps)
Parameters
| Type |
Name |
Description |
| System.String |
str |
|
| Aurigma.GraphicsMill.Codecs.Psd.FontCaps |
caps |
|
Returns
| Type |
Description |
| System.String |
|
RemoveUnderline(String)
Declaration
public static string RemoveUnderline(string text)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
Returns
| Type |
Description |
| System.String |
|
ReplaceTextInXml(String, String, String)
Declaration
public static string ReplaceTextInXml(string text, string oldText, string newText)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| System.String |
oldText |
|
| System.String |
newText |
|
Returns
| Type |
Description |
| System.String |
|