public static final class Staple.StapleOption extends Option
Describes the JobStapleAllDocuments and DocumentStaple features options.
| Modifier and Type | Field and Description |
|---|---|
static Staple.StapleOption |
None
Specifies no stapling.
|
static Staple.StapleOption |
SaddleStitch
Specifies saddle stitch stapling.
|
static Staple.StapleOption |
StapleBottomLeft
Specifies a single staple in the bottom, left corner.
|
static Staple.StapleOption |
StapleBottomRight
Specifies a single staple in the bottom, right corner.
|
static Staple.StapleOption |
StapleDualBottom
Specifies two staples along the bottom edge.
|
static Staple.StapleOption |
StapleDualLeft
Specifies two staples along the left edge.
|
static Staple.StapleOption |
StapleDualRight
Specifies two staples along the right edge.
|
static Staple.StapleOption |
StapleDualTop
Specifies two staples along the top edge
|
static Staple.StapleOption |
StapleTopLeft
Specifies a single staple in the top, left corner.
|
static Staple.StapleOption |
StapleTopRight
Specifies a single staple in the top, right corner.
|
| Constructor and Description |
|---|
StapleOption(String optionName,
Staple.IStapleOptionItem... items)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Staple.StapleOption |
add(Staple.IStapleOptionItem... items)
Adds an array of
IStapleOptionItem instances to the feature. |
Staple.StapleOption |
setAngle(int angle)
Sets an
Angle scored property value. |
Staple.StapleOption |
setSheetCapacity(int sheetCapacity)
Sets an
SheetCapacity scored property value. |
getNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static final Staple.StapleOption SaddleStitch
Specifies saddle stitch stapling.
public static final Staple.StapleOption StapleBottomLeft
Specifies a single staple in the bottom, left corner.
public static final Staple.StapleOption StapleBottomRight
Specifies a single staple in the bottom, right corner.
public static final Staple.StapleOption StapleDualBottom
Specifies two staples along the bottom edge.
public static final Staple.StapleOption StapleDualLeft
Specifies two staples along the left edge.
public static final Staple.StapleOption StapleDualRight
Specifies two staples along the right edge.
public static final Staple.StapleOption StapleDualTop
Specifies two staples along the top edge
public static final Staple.StapleOption None
Specifies no stapling.
public static final Staple.StapleOption StapleTopLeft
Specifies a single staple in the top, left corner.
public static final Staple.StapleOption StapleTopRight
Specifies a single staple in the top, right corner.
public StapleOption(String optionName, Staple.IStapleOptionItem... items)
Creates a new instance.
optionName - An options name.items - An arbitrary array of IStapleOptionItem instances.public Staple.StapleOption add(Staple.IStapleOptionItem... items)
Adds an array of IStapleOptionItem instances to the feature.
items - An arbitrary array of IStapleOptionItem instances.public final Staple.StapleOption setAngle(int angle)
Sets an Angle scored property value.
angle - An Angle scored property value.public final Staple.StapleOption setSheetCapacity(int sheetCapacity)
Sets an SheetCapacity scored property value.
sheetCapacity - An SheetCapacity scored property value.Copyright © 2025 Aspose. All Rights Reserved.