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. |
getName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static Staple.StapleOption SaddleStitch
Specifies saddle stitch stapling.
public static Staple.StapleOption StapleBottomLeft
Specifies a single staple in the bottom, left corner.
public static Staple.StapleOption StapleBottomRight
Specifies a single staple in the bottom, right corner.
public static Staple.StapleOption StapleDualBottom
Specifies two staples along the bottom edge.
public static Staple.StapleOption StapleDualLeft
Specifies two staples along the left edge.
public static Staple.StapleOption StapleDualRight
Specifies two staples along the right edge.
public static Staple.StapleOption StapleDualTop
Specifies two staples along the top edge
public static Staple.StapleOption None
Specifies no stapling.
public static Staple.StapleOption StapleTopLeft
Specifies a single staple in the top, left corner.
public static 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 Staple.StapleOption setAngle(int angle)
Sets an Angle
scored property value.
angle
- An Angle
scored property value.public Staple.StapleOption setSheetCapacity(int sheetCapacity)
Sets an SheetCapacity
scored property value.
sheetCapacity
- An SheetCapacity
scored property value.Copyright © 2022 Aspose. All Rights Reserved.