Class PrintArea
Inheritance
System.Object
PrintArea
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 PrintArea : ModelComponent, ICloneable
Constructors
PrintArea(Nullable<RectangleF>, Collection<SafetyLine>, Collection<CropMark>, Margin, Margin)
Declaration
public PrintArea(RectangleF? bounds = null, Collection<SafetyLine> safetyLines = null, Collection<CropMark> cropMarks = null, Margin bleed = null, Margin slug = null)
Parameters
Fields
BleedSafetyLineName
Declaration
public static string BleedSafetyLineName
Field Value
| Type |
Description |
| System.String |
|
Bounds
Declaration
Field Value
| Type |
Description |
| System.Drawing.RectangleF |
|
ParentSurface
Declaration
public Surface ParentSurface
Field Value
TrimSafetyLineName
Declaration
public static string TrimSafetyLineName
Field Value
| Type |
Description |
| System.String |
|
Properties
Bleed
Declaration
public Margin Bleed { get; set; }
Property Value
CropMarks
Declaration
public Collection<CropMark> CropMarks { get; protected set; }
Property Value
HasMargin
Declaration
public bool HasMargin { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
SafetyLines
Declaration
public Collection<SafetyLine> SafetyLines { get; protected set; }
Property Value
Slug
Declaration
public Margin Slug { 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(PrintArea)
Declaration
protected bool Equals(PrintArea other)
Parameters
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
GetBounds(PrintAreaBoundsType)
Declaration
public RectangleF GetBounds(PrintAreaBoundsType printAreaBoundsType = PrintAreaBoundsType.Trim)
Parameters
| Type |
Name |
Description |
| PrintAreaBoundsType |
printAreaBoundsType |
|
Returns
| Type |
Description |
| System.Drawing.RectangleF |
|
GetCropRectangle(String)
Declaration
public RectangleF? GetCropRectangle(string safetyLineName)
Parameters
| Type |
Name |
Description |
| System.String |
safetyLineName |
|
Returns
| Type |
Description |
| System.Nullable<System.Drawing.RectangleF> |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
GetOffset()
Declaration
public PointF GetOffset()
Returns
| Type |
Description |
| System.Drawing.PointF |
|
OnBleedPropertyChanged(Object, EventArgs)
Declaration
protected void OnBleedPropertyChanged(object sender = null, EventArgs e = null)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
OnSlugPropertyChanged(Object, EventArgs)
Declaration
protected void OnSlugPropertyChanged(object sender = null, EventArgs e = null)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable