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.INotifyPropertyChangedSystem.ICloneable
Inherited Members
- Aurigma.DesignAtoms.Model.ModelComponent.UserTagKey
- Aurigma.DesignAtoms.Model.ModelComponent.WarningTagKey
- Aurigma.DesignAtoms.Model.ModelComponent.Tags
- Aurigma.DesignAtoms.Model.ModelComponent.GenerateId()
- Aurigma.DesignAtoms.Model.ModelComponent.ToString()
- Aurigma.DesignAtoms.Model.ModelComponent.Equals(Aurigma.DesignAtoms.Model.ModelComponent)
- Aurigma.DesignAtoms.Model.ModelComponent.Clone(System.Boolean)
- Aurigma.DesignAtoms.Model.ModelComponent.Clone()
- Aurigma.DesignAtoms.Model.ModelComponent.OnPropertyChanged(System.String)
- Aurigma.DesignAtoms.Model.ModelComponent.Version
- Aurigma.DesignAtoms.Model.ModelComponent.Id
- Aurigma.DesignAtoms.Model.ModelComponent.Name
- Aurigma.DesignAtoms.Model.ModelComponent.PropertyChanged
System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetTypeSystem.Object.MemberwiseClone
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
| Type | Name | Description |
|---|---|---|
System.String | key |
Returns
Aurigma.DesignAtoms.Model.Surface
GetAllItems
public IEnumerable<BaseItem> GetAllItems(GetAllItemsOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.GetAllItemsOptions | options |
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
| Type | Name | Description |
|---|---|---|
<TItem> | clone | |
System.Boolean | keepIds |
Returns
<TItem>
Overrides
Aurigma.DesignAtoms.Model.ModelComponent.DeepClone``1(<TItem>,System.Boolean)
Equals
protected bool Equals(Product other)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Product | other |
Returns
System.Boolean
Equals
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
System.Object | obj |
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