Class Product
Inheritance
System.Object
Product
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class Product : ModelComponent, ICloneable
Constructors
Product(String, String, Collection<Surface>)
Declaration
public Product(string id = null, string name = "", Collection<Surface> surfaces = null)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
| System.String |
name |
|
| Collection<Surface> |
surfaces |
|
Fields
CurrentItem
Declaration
Field Value
DefaultCropMarks
Declaration
public IEnumerable<CropMark> DefaultCropMarks
Field Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<CropMark> |
|
DefaultDesignLocation
Declaration
public PointF DefaultDesignLocation
Field Value
| Type |
Description |
| System.Drawing.PointF |
|
DefaultSafetyLines
Declaration
public IEnumerable<SafetyLine> DefaultSafetyLines
Field Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<SafetyLine> |
|
Properties
PreferredFonts
Declaration
public string[] PreferredFonts { get; set; }
Property Value
| Type |
Description |
| System.String[] |
|
Surfaces
Declaration
public Collection<Surface> Surfaces { get; }
Property Value
WatermarkConfig
Declaration
public WatermarkConfig WatermarkConfig { get; set; }
Property Value
Methods
DeepClone<TItem>(TItem, Boolean)
Declaration
public override TItem DeepClone<TItem>(TItem clone = null, bool keepIds = false)
where TItem : ModelComponent
Parameters
| Type |
Name |
Description |
| TItem |
clone |
|
| System.Boolean |
keepIds |
|
Returns
Type Parameters
Overrides
Aurigma.DesignAtoms.Model.ModelComponent.DeepClone<TItem>(TItem, System.Boolean)
Equals(Product)
Declaration
protected bool Equals(Product other)
Parameters
| Type |
Name |
Description |
| Product |
other |
|
Returns
| Type |
Description |
| System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
GetAllItems(GetAllItemsOptions)
Declaration
public IEnumerable<BaseItem> GetAllItems(GetAllItemsOptions options = null)
Parameters
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<BaseItem> |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
GetSurface(String)
Declaration
public Surface GetSurface(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Returns
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable