Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class BaseTextItem

Namespace: Aurigma.DesignAtoms.Model.Items

Assembly: Aurigma.DesignAtoms.Model.dll

Syntax
public abstract class BaseTextItem : RectangleItem, ICloneable

Inheritance: System.Object -> Aurigma.DesignAtoms.Model.ModelComponent -> Aurigma.DesignAtoms.Model.Items.BaseItem -> Aurigma.DesignAtoms.Model.Items.Item -> Aurigma.DesignAtoms.Model.Items.ShapeItem -> Aurigma.DesignAtoms.Model.Items.RectangleItem -> BaseTextItem

Implements​

  • System.ComponentModel.INotifyPropertyChanged
  • System.ICloneable

Inherited Members​

Constructors​

BaseTextItem​

protected BaseTextItem(string text)

BaseTextItem​

protected BaseTextItem(string text, string fontPostScriptName, float fontSize)

Properties​

Text​

public string Text { get; set; }

Font​

public FontSettings Font { get; set; }

Alignment​

public TextAlignment Alignment { get; set; }

Underline​

public bool Underline { get; set; }

Color​

public Color Color { get; set; }

Tracking​

public float Tracking { get; set; }

Leading​

public float Leading { get; set; }

HorizontalScale​

public virtual float HorizontalScale { get; set; }

VerticalScale​

public virtual float VerticalScale { get; set; }

CheckTextCrop​

public bool CheckTextCrop { get; set; }

OverlapLinesEnabled​

public bool OverlapLinesEnabled { get; set; }

PreviewScale​

public float PreviewScale { get; set; }

Stroke​

public StrokeSettings Stroke { get; set; }

Shadow​

public ShadowSettings Shadow { get; set; }

CharacterLimit​

public int? CharacterLimit { get; set; }

MaxLineLength​

public int? MaxLineLength { get; set; }

MaxLineCount​

public virtual int? MaxLineCount { get; set; }

BaselineShift​

public float BaselineShift { get; set; }

TextPermissions​

public TextPermissions TextPermissions { get; set; }

ViolationSettings​

public TextViolationSettings ViolationSettings { get; set; }

IsTextPlaceholder​

public bool IsTextPlaceholder { get; set; }

OriginalText​

public string OriginalText { get; set; }

OverprintText​

public bool OverprintText { get; set; }

ListStyles​

public string ListStyles { get; set; }

Methods​

SetViolationSettings​

protected override void SetViolationSettings(ViolationSettings value)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Items.ViolationSettingsvalue

Overrides​

ApplyPermissionsConstrain​

public override void ApplyPermissionsConstrain()

Overrides​

CanSetIsVariable​

protected override bool CanSetIsVariable()

Returns​

System.Boolean

Overrides​

SubscribeToPermissionChanged​

protected override void SubscribeToPermissionChanged()

Overrides​

UnsubscribeFromPermissionChanged​

protected override void UnsubscribeFromPermissionChanged()

Overrides​

SetColorProfile​

public override void SetColorProfile(string colorProfile, ColorSpace colorSpace)

Parameters​

TypeNameDescription
System.StringcolorProfile
Aurigma.DesignAtoms.Model.Color.ColorSpacecolorSpace

Overrides​

GetAllColors​

public override IEnumerable<Color> GetAllColors()

Returns​

System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Model.Color.Color>

Overrides​

Equals​

protected bool Equals(BaseTextItem other)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Items.BaseTextItemother

Returns​

System.Boolean

Equals​

public override bool Equals(object obj)

Parameters​

TypeNameDescription
System.Objectobj

Returns​

System.Boolean

Overrides​

GetHashCode​

public override int GetHashCode()

Returns​

System.Int32

Overrides​

DeepClone<TItem>​

public override TItem DeepClone<TItem>(TItem clone = null, bool keepIds = false)
where TItem : ModelComponent

Parameters​

TypeNameDescription
<TItem>clone
System.BooleankeepIds

Returns​

<TItem>

Overrides​

  • Aurigma.DesignAtoms.Model.Items.RectangleItem.DeepClone``1(<TItem>,System.Boolean)

Fields​

ColorPalette​

public List<Color> ColorPalette

Placeholders​

public IEnumerable<InStringPlaceholder> Placeholders

Values​

public IEnumerable<BaseTextItem.BaseTextValue> Values
Was this page helpful?