Class Staple.StapleOption
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
อธิบายเกี่ยวกับคุณสมบัติของ Aspose.Page.XPS.XpsMetadata.JobStapleAllDocuments และ Aspose.Page.XPS.XpsMetadata.DocumentStaple
public sealed class Staple.StapleOption : Option, IFeatureItem, IPrintTicketElementChild
การสืบทอด
object ← PrintTicketElement ← CompositePrintTicketElement ← Option ← Staple.StapleOption
การใช้งาน
IFeatureItem, IPrintTicketElementChild
สมาชิกที่สืบทอด
Option.Add(params IOptionItem[]), PrintTicketElement.Name, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวสร้าง
StapleOption(string, params IStapleOptionItem[])
สร้างอินสแตนซ์ใหม่
public StapleOption(string optionName, params Staple.IStapleOptionItem[] items)
พารามิเตอร์
optionName
string
ชื่อของตัวเลือก
items
Staple.IStapleOptionItem[]
อาร์เรย์ของอินสแตนซ์ Aspose.Page.XPS.XpsMetadata.Staple.IStapleOptionItem
ฟิลด์
None
ระบุว่าไม่มีการเย็บ
public static readonly Staple.StapleOption None
ค่า Field
SaddleStitch
ระบุการเย็บแบบ Saddle Stitch
public static readonly Staple.StapleOption SaddleStitch
ค่า Field
StapleBottomLeft
ระบุการเย็บแบบเดี่ยวที่มุมล่างซ้าย
public static readonly Staple.StapleOption StapleBottomLeft
ค่า Field
StapleBottomRight
ระบุการเย็บแบบเดี่ยวที่มุมล่างขวา
public static readonly Staple.StapleOption StapleBottomRight
ค่า Field
StapleDualBottom
ระบุการเย็บสองจุดที่ขอบล่าง
public static readonly Staple.StapleOption StapleDualBottom
ค่า Field
StapleDualLeft
ระบุการเย็บสองจุดที่ขอบซ้าย
public static readonly Staple.StapleOption StapleDualLeft
ค่า Field
StapleDualRight
ระบุการเย็บสองจุดที่ขอบขวา
public static readonly Staple.StapleOption StapleDualRight
ค่า Field
StapleDualTop
ระบุการเย็บสองจุดที่ขอบบน
public static readonly Staple.StapleOption StapleDualTop
ค่า Field
StapleTopLeft
ระบุการเย็บแบบเดี่ยวที่มุมบนซ้าย
public static readonly Staple.StapleOption StapleTopLeft
ค่า Field
StapleTopRight
ระบุการเย็บแบบเดี่ยวที่มุมบนขวา
public static readonly Staple.StapleOption StapleTopRight
ค่า Field
วิธีการ
Add(params IStapleOptionItem[])
เพิ่มอาร์เรย์ของอินสแตนซ์ Aspose.Page.XPS.XpsMetadata.Staple.IStapleOptionItem ลงในฟีเจอร์
public Staple.StapleOption Add(params Staple.IStapleOptionItem[] items)
พารามิเตอร์
items
Staple.IStapleOptionItem[]
อาร์เรย์ของอินสแตนซ์ Aspose.Page.XPS.XpsMetadata.Staple.IStapleOptionItem
คืนค่า
อินสแตนซ์ของตัวเลือกนี้
SetAngle(int)
ตั้งค่า Angle ค่าคุณสมบัติที่ได้คะแนน
public Staple.StapleOption SetAngle(int angle)
พารามิเตอร์
angle
int
ค่าคุณสมบัติ Angle ที่ได้คะแนน
คืนค่า
อินสแตนซ์ของตัวเลือกนี้
SetSheetCapacity(int)
ตั้งค่า SheetCapacity ค่าคุณสมบัติที่ได้คะแนน
public Staple.StapleOption SetSheetCapacity(int sheetCapacity)
พารามิเตอร์
sheetCapacity
int
ค่าคุณสมบัติ SheetCapacity ที่ได้คะแนน
คืนค่า
อินสแตนซ์ของตัวเลือกนี้