Skip to main content

Class FontSubstitutionService

Namespace: Aurigma.DesignAtoms.Services​
Assembly: Aurigma.DesignAtoms.dll​
Syntax
public class FontSubstitutionService : IFontSubstitutionService

Inheritance: System.Object -> FontSubstitutionService

Implements​

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

Constructors​

FontSubstitutionService​

public FontSubstitutionService(IFontService fontService, IConfiguration configuration, IProductHandler productHandler)

Methods​

SubstituteFonts​

public ICollection<string> SubstituteFonts(Surface surface)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Surfacesurface
Returns​

System.Collections.Generic.ICollection<System.String>

SubstituteFonts​

public ICollection<string> SubstituteFonts(Product product)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Productproduct
Returns​

System.Collections.Generic.ICollection<System.String>

SubstituteFonts​

public ICollection<string> SubstituteFonts(GroupItem groupItem)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Items.GroupItemgroupItem
Returns​

System.Collections.Generic.ICollection<System.String>

SubstituteFonts​

public ICollection<string> SubstituteFonts(BaseTextItem textItem)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Items.BaseTextItemtextItem
Returns​

System.Collections.Generic.ICollection<System.String>

AllFontsAvailable​

public bool AllFontsAvailable(BaseTextItem textItem)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Items.BaseTextItemtextItem
Returns​

System.Boolean

ValidateSubstitutionFontPostScriptName​

public void ValidateSubstitutionFontPostScriptName()
Was this page helpful?