Back to Website
Show / Hide Table of Contents

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()
Namespace: Aurigma.DesignAtoms.Convert.Psd
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
Type Name Description
Aurigma.GraphicsMill.Codecs.Psd.PsdTextFrame textFrame
BaseTextItem textItemHandler
IGmColorConverter gmColorConverter

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
Type Name Description
IFontService fontService
IGmColorConverter gmColorConverter
Aurigma.GraphicsMill.Codecs.Psd.PsdTextFrame textFrame
BaseTextItem textItem
System.Boolean legacyTextEngine
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
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback