Class Staple.StapleOption

Staple.StapleOption class

Describes the JobStapleAllDocuments and DocumentStaple features options.

public sealed class StapleOption : Option

Constructors

NameDescription
StapleOption(string, params IStapleOptionItem[])Creates a new instance.

Properties

NameDescription
Name { get; }Gets the element name.

Methods

NameDescription
Add(params IOptionItem[])Adds a list of items to the end of this option’s item list. Each one must be a ScoredProperty or Property instance.
Add(params IStapleOptionItem[])Adds an array of IStapleOptionItem instances to the feature.
SetAngle(int)Sets an Angle scored property value.
SetSheetCapacity(int)Sets an SheetCapacity scored property value.

Fields

NameDescription
static readonly NoneSpecifies no stapling.
static readonly SaddleStitchSpecifies saddle stitch stapling.
static readonly StapleBottomLeftSpecifies a single staple in the bottom, left corner.
static readonly StapleBottomRightSpecifies a single staple in the bottom, right corner.
static readonly StapleDualBottomSpecifies two staples along the bottom edge.
static readonly StapleDualLeftSpecifies two staples along the left edge.
static readonly StapleDualRightSpecifies two staples along the right edge.
static readonly StapleDualTopSpecifies two staples along the top edge
static readonly StapleTopLeftSpecifies a single staple in the top, left corner.
static readonly StapleTopRightSpecifies a single staple in the top, right corner.

See Also