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
ערך שדה
SaddleStitch
מציין חיבור Saddle Stitch.
public static readonly Staple.StapleOption SaddleStitch
ערך שדה
StapleBottomLeft
מציין חיבור יחיד בפינה התחתונה השמאלית.
public static readonly Staple.StapleOption StapleBottomLeft
ערך שדה
StapleBottomRight
מציין חיבור יחיד בפינה התחתונה הימנית.
public static readonly Staple.StapleOption StapleBottomRight
ערך שדה
StapleDualBottom
מציין שני חיבורים לאורך הקצה התחתון.
public static readonly Staple.StapleOption StapleDualBottom
ערך שדה
StapleDualLeft
מציין שני חיבורים לאורך הקצה השמאלי.
public static readonly Staple.StapleOption StapleDualLeft
ערך שדה
StapleDualRight
מציין שני חיבורים לאורך הקצה הימני.
public static readonly Staple.StapleOption StapleDualRight
ערך שדה
StapleDualTop
מציין שני חיבורים לאורך הקצה העליון.
public static readonly Staple.StapleOption StapleDualTop
ערך שדה
StapleTopLeft
מציין חיבור יחיד בפינה העליונה השמאלית.
public static readonly Staple.StapleOption StapleTopLeft
ערך שדה
StapleTopRight
מציין חיבור יחיד בפינה העליונה הימנית.
public static readonly Staple.StapleOption StapleTopRight
ערך שדה
שיטות
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.
מחזיר
מופע אפשרות זה.