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<Aurigma.GraphicsMill.Color> |
palette |
|
Aurigma.GraphicsMill.Color |
color |
|
Returns
Type |
Description |
System.Int32 |
|
ApplyLastSpanStyle(PsdTextFrame, BaseTextItem)
Declaration
public static void ApplyLastSpanStyle(PsdTextFrame textFrame, BaseTextItem textItemHandler)
Parameters
Type |
Name |
Description |
Aurigma.GraphicsMill.Codecs.Psd.PsdTextFrame |
textFrame |
|
BaseTextItem |
textItemHandler |
|
GetAddFullColorAttributeFunc(IColorManagement)
Declaration
public static Func<Dictionary<string, string[]>, Tuple<string, string>> GetAddFullColorAttributeFunc(IColorManagement colorManagement)
Parameters
Returns
Type |
Description |
System.Func<System.Collections.Generic.Dictionary<System.String, System.String[]>, System.Tuple<System.String, System.String>> |
|
GetFullColor(Color, IColorManagement)
Declaration
public static string GetFullColor(Color color, IColorManagement colorManagement)
Parameters
Type |
Name |
Description |
Aurigma.GraphicsMill.Color |
color |
|
IColorManagement |
colorManagement |
|
Returns
Type |
Description |
System.String |
|
GetRichTextAndColorPalette(IFontService, PsdTextFrame, BaseTextItem)
Declaration
public static Tuple<string, List<Color>> GetRichTextAndColorPalette(IFontService fontService, PsdTextFrame textFrame, BaseTextItem textItem)
Parameters
Type |
Name |
Description |
IFontService |
fontService |
|
Aurigma.GraphicsMill.Codecs.Psd.PsdTextFrame |
textFrame |
|
BaseTextItem |
textItem |
|
Returns
Type |
Description |
System.Tuple<System.String, System.Collections.Generic.List<Aurigma.GraphicsMill.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 |
|