Skip to main content

Class PrintArea

Namespace: Aurigma.DesignAtoms.Model
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class PrintArea : ModelComponent, ICloneable

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

Implements

  • System.ComponentModel.INotifyPropertyChanged
  • System.ICloneable

Inherited Members

Constructors

PrintArea

public PrintArea(RectangleF? bounds = null, Collection<SafetyLine> safetyLines = null, Collection<CropMark> cropMarks = null, Margin bleed = null, Margin slug = null, Path shape = null)

Properties

SafetyLines

public Collection<SafetyLine> SafetyLines { get; protected set; }

CropMarks

public Collection<CropMark> CropMarks { get; protected set; }

Shape

public Path Shape { get; set; }

Bounds

public RectangleF Bounds { get; set; }

Bleed

public Margin Bleed { get; set; }

Slug

public Margin Slug { get; set; }

IsRectangle

public bool IsRectangle { get; }

HasMargin

public bool HasMargin { get; }

Methods

OnBleedPropertyChanged

protected void OnBleedPropertyChanged(object sender = null, EventArgs e = null)
Parameters
TypeNameDescription
System.Objectsender
System.EventArgse

OnSlugPropertyChanged

protected void OnSlugPropertyChanged(object sender = null, EventArgs e = null)
Parameters
TypeNameDescription
System.Objectsender
System.EventArgse

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)

GetCropRectangle

public RectangleF? GetCropRectangle(string safetyLineName)
Parameters
TypeNameDescription
System.StringsafetyLineName
Returns

System.Nullable<System.Drawing.RectangleF>

GetBounds

public RectangleF GetBounds(PrintAreaMarginType printAreaBoundsType = PrintAreaMarginType.Trim)
Parameters
TypeNameDescription
PrintAreaMarginTypeprintAreaBoundsType
Returns

System.Drawing.RectangleF

Equals

protected bool Equals(PrintArea other)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Model.PrintAreaother
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

ParentSurface

public Surface ParentSurface

BleedSafetyLineName

public static string BleedSafetyLineName

TrimSafetyLineName

public static string TrimSafetyLineName
Was this page helpful?