Class Staple.StapleOption
Staple.StapleOption class
Describes the JobStapleAllDocuments and DocumentStaple features options.
public sealed class StapleOption : Option
Constructors
| Name | Description |
|---|
| StapleOption(string, params IStapleOptionItem[]) | Creates a new instance. |
Properties
| Name | Description |
|---|
| Name { get; } | Gets the element name. |
Methods
| Name | Description |
|---|
| 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
| Name | Description |
|---|
| static readonly None | Specifies no stapling. |
| static readonly SaddleStitch | Specifies saddle stitch stapling. |
| static readonly StapleBottomLeft | Specifies a single staple in the bottom, left corner. |
| static readonly StapleBottomRight | Specifies a single staple in the bottom, right corner. |
| static readonly StapleDualBottom | Specifies two staples along the bottom edge. |
| static readonly StapleDualLeft | Specifies two staples along the left edge. |
| static readonly StapleDualRight | Specifies two staples along the right edge. |
| static readonly StapleDualTop | Specifies two staples along the top edge |
| static readonly StapleTopLeft | Specifies a single staple in the top, left corner. |
| static readonly StapleTopRight | Specifies a single staple in the top, right corner. |
See Also