Click or drag to resize

PenSet Class

Provides the functionalities to manage a collection of pens.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.CommonPenSet

Namespace: RAYLASE.Marker.Common
Assembly: RAYLASE.Marker.Common (in RAYLASE.Marker.Common.dll) Version: 2.19.0
Syntax
C#
public class PenSet

The PenSet type exposes the following members.

Constructors
 NameDescription
Public methodPenSetInitializes a new instance of the Object class.
Top
Properties
 NameDescription
Public propertyDefaultPen The default pen.
Public propertyDefaultPenNumber The default pen number from this pen set that will be used when a new markable job element is created..
Public propertyHasPen The flag whether there is any pen in the collection.
Public propertyID The unique identifier of this pen collection.
Public propertyItem The enumeration of the pens in the collection.
Public propertyName The name of this pen collection.
Public propertyPenMap The pens that are currently being managed. By default, pen 1 is added and not removable.
Top
Methods
 NameDescription
Public methodAddPen Adds a given pen to the collection.
Public methodClear Removes all pens from the collection.
Public methodContainsSamePens Returns true if all pens are the same.
Public methodCopyFrom Copies pens from a given pen set.
Public methodCopyToDefaultPen Sets a given pen as the default pen.
Public methodGetPenOrDefault Returns the specified pen if available. Otherwise DefaultPen will be returned.
Public methodInheritFromDefault Makes pens inherit values from the default pen.
Public methodIsAllPensDefault Checks if all the pens have default values only.
Public methodMassUpdatePens Copies all properties from the given pen to the selected pens, but use the masking pen to decide which properties should be updated.
Public methodMergeFrom Merges a given pen set to this pen set.
Public methodRemovePen Removes a given pen from the collection.
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
See Also