Skip to main content

Class TextStoryParser

Namespace: Aurigma.DesignAtoms.Convert.Idml
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class TextStoryParser

Inheritance: System.Object -> TextStoryParser

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

Methods

GetFormattedText

public static string GetFormattedText(TextStory story, bool removeFirstSpanStyles = true)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
System.BooleanremoveFirstSpanStyles
Returns

System.String

GetTextOverprint

public static bool GetTextOverprint(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Boolean

GetText

public static string GetText(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.String

GetParagraphSettings

public static ParagraphSettings GetParagraphSettings(TextStory story, ParagraphSettings defaultValue = null)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Aurigma.DesignAtoms.Model.Items.ParagraphSettingsdefaultValue
Returns

Aurigma.DesignAtoms.Model.Items.ParagraphSettings

GetAlignment

public static TextAlignment? GetAlignment(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<Aurigma.DesignAtoms.Model.Items.TextAlignment>

GetHorizontalScale

public static float? GetHorizontalScale(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<System.Single>

GetVerticalScale

public static float? GetVerticalScale(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<System.Single>

GetFontSettings

public static FontSettings GetFontSettings(TextStory story, IFontService fontService)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Aurigma.DesignAtoms.Services.IFontServicefontService
Returns

Aurigma.DesignAtoms.Model.Items.FontSettings

GetUnderline

public static bool? GetUnderline(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<System.Boolean>

GetTracking

public static float? GetTracking(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<System.Single>

GetLeading

public static float? GetLeading(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<System.Single>

GetColor

public static Color GetColor(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

Aurigma.GraphicsMill.Color

GetStrokeSettings

public static StrokeSettings GetStrokeSettings(TextStory story, IGmColorConverter gmColorConverter)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Aurigma.DesignAtoms.ColorManagement.IGmColorConvertergmColorConverter
Returns

Aurigma.DesignAtoms.Model.Items.StrokeSettings

GetBaselineShift

public static float? GetBaselineShift(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Nullable<System.Single>

IsFormattedText

public static bool IsFormattedText(TextStory story)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Idml.TextStorystory
Returns

System.Boolean

Was this page helpful?