Back to Website
Show / Hide Table of Contents

Class PrintArea

Inheritance
System.Object
ModelComponent
PrintArea
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
ModelComponent.UserTagKey
ModelComponent.WarningTagKey
ModelComponent.Tags
ModelComponent.GenerateId()
ModelComponent.ToString()
ModelComponent.Equals(ModelComponent)
ModelComponent.Clone(Boolean)
ModelComponent.Clone()
ModelComponent.OnPropertyChanged(String)
ModelComponent.Version
ModelComponent.Id
ModelComponent.Name
ModelComponent.PropertyChanged
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model
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
Type Name Description
System.Nullable<System.Drawing.RectangleF> bounds
Collection<SafetyLine> safetyLines
Collection<CropMark> cropMarks
Margin bleed
Margin slug

Fields

BleedSafetyLineName

Declaration
public static string BleedSafetyLineName
Field Value
Type Description
System.String

Bounds

Declaration
public RectangleF Bounds
Field Value
Type Description
System.Drawing.RectangleF

ParentSurface

Declaration
public Surface ParentSurface
Field Value
Type Description
Surface

TrimSafetyLineName

Declaration
public static string TrimSafetyLineName
Field Value
Type Description
System.String

Properties

Bleed

Declaration
public Margin Bleed { get; set; }
Property Value
Type Description
Margin

CropMarks

Declaration
public Collection<CropMark> CropMarks { get; protected set; }
Property Value
Type Description
Collection<CropMark>

HasMargin

Declaration
public bool HasMargin { get; }
Property Value
Type Description
System.Boolean

SafetyLines

Declaration
public Collection<SafetyLine> SafetyLines { get; protected set; }
Property Value
Type Description
Collection<SafetyLine>

Slug

Declaration
public Margin Slug { get; set; }
Property Value
Type Description
Margin

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 Description
TItem
Type Parameters
Name Description
TItem
Overrides
Aurigma.DesignAtoms.Model.ModelComponent.DeepClone<TItem>(TItem, System.Boolean)

Equals(PrintArea)

Declaration
protected bool Equals(PrintArea other)
Parameters
Type Name Description
PrintArea 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
ModelComponent.Equals(Object)

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
ModelComponent.GetHashCode()

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
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback