Contact us

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

Skip to main content

Class Product

Namespace: Aurigma.DesignAtoms.Model

Assembly: Aurigma.DesignAtoms.Model.dll

Syntax
public class Product : ModelComponent, ICloneable

Inheritance: System.Object -> Aurigma.DesignAtoms.Model.ModelComponent -> Product

Implements​

  • System.ComponentModel.INotifyPropertyChanged
  • System.ICloneable

Inherited Members​

Constructors​

Product​

public Product(string id = null, string name = "", Collection<Surface> surfaces = null)

Properties​

Surfaces​

public Collection<Surface> Surfaces { get; }

PreferredFonts​

public string[] PreferredFonts { get; set; }

WatermarkConfig​

public WatermarkConfig WatermarkConfig { get; set; }

Methods​

GetSurface​

public Surface GetSurface(string key)

Parameters​

TypeNameDescription
System.Stringkey

Returns​

Aurigma.DesignAtoms.Model.Surface

GetAllItems​

public IEnumerable<BaseItem> GetAllItems(GetAllItemsOptions options = null)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.GetAllItemsOptionsoptions

Returns​

System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Model.Items.BaseItem>

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.ModelComponent.DeepClone``1(<TItem>,System.Boolean)

Equals​

protected bool Equals(Product other)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Productother

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​

Fields​

DefaultSafetyLines​

public IEnumerable<SafetyLine> DefaultSafetyLines

DefaultCropMarks​

public IEnumerable<CropMark> DefaultCropMarks

DefaultDesignLocation​

public PointF DefaultDesignLocation

CurrentItem​

public Item CurrentItem
Was this page helpful?