Class TextStoryParser
Namespace: Aurigma.DesignAtoms.Convert.Idml
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class TextStoryParser
Inheritance: System.Object -> TextStoryParser
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Methods
GetFormattedText
public static string GetFormattedText(TextStory story, bool removeFirstSpanStyles = true)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story | |
System.Boolean | removeFirstSpanStyles |
Returns
System.String
GetTextOverprint
public static bool GetTextOverprint(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Boolean
GetText
public static string GetText(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.String
GetParagraphSettings
public static ParagraphSettings GetParagraphSettings(TextStory story, ParagraphSettings defaultValue = null)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story | |
| Aurigma.DesignAtoms.Model.Items.ParagraphSettings | defaultValue |
Returns
Aurigma.DesignAtoms.Model.Items.ParagraphSettings
GetAlignment
public static TextAlignment? GetAlignment(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<Aurigma.DesignAtoms.Model.Items.TextAlignment>
GetHorizontalScale
public static float? GetHorizontalScale(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<System.Single>
GetVerticalScale
public static float? GetVerticalScale(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<System.Single>
GetFontSettings
public static FontSettings GetFontSettings(TextStory story, IFontService fontService)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story | |
| Aurigma.DesignAtoms.Services.IFontService | fontService |
Returns
Aurigma.DesignAtoms.Model.Items.FontSettings
GetUnderline
public static bool? GetUnderline(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<System.Boolean>
GetTracking
public static float? GetTracking(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<System.Single>
GetLeading
public static float? GetLeading(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<System.Single>
GetColor
public static Color GetColor(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
Aurigma.GraphicsMill.Color
GetStrokeSettings
public static StrokeSettings GetStrokeSettings(TextStory story, IGmColorConverter gmColorConverter)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story | |
| Aurigma.DesignAtoms.ColorManagement.IGmColorConverter | gmColorConverter |
Returns
Aurigma.DesignAtoms.Model.Items.StrokeSettings
GetBaselineShift
public static float? GetBaselineShift(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Nullable<System.Single>
IsFormattedText
public static bool IsFormattedText(TextStory story)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Codecs.Idml.TextStory | story |
Returns
System.Boolean