Aspose::Page::XPS::XpsMetadata::Staple::StapleOption class

StapleOption class

Describes the JobStapleAllDocuments and DocumentStaple features options.

class StapleOption : public Aspose::Page::XPS::XpsMetadata::Option

Methods

MethodDescription
Add(const System::ArrayPtr<System::SharedPtr<Staple::IStapleOptionItem>>&)Adds an array of IStapleOptionItem instances to the feature.
SetAngle(int32_t)Sets an Angle scored property value.
SetSheetCapacity(int32_t)Sets an SheetCapacity scored property value.
StapleOption(System::String, const System::ArrayPtr<System::SharedPtr<Staple::IStapleOptionItem>>&)Creates a new instance.

Fields

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

See Also