Class Staple.StapleOption

Class Staple.StapleOption

Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)

Mô tả các tùy chọn tính năng Aspose.Page.XPS.XpsMetadata.JobStapleAllDocuments và Aspose.Page.XPS.XpsMetadata.DocumentStaple.

public sealed class Staple.StapleOption : Option, IFeatureItem, IPrintTicketElementChild

Kế thừa

objectPrintTicketElementCompositePrintTicketElementOptionStaple.StapleOption

Triển khai

IFeatureItem, IPrintTicketElementChild

Thành viên kế thừa

Option.Add(params IOptionItem[]), PrintTicketElement.Name, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Các hàm khởi tạo

StapleOption(string, params IStapleOptionItem[])

Tạo một thể hiện mới.

public StapleOption(string optionName, params Staple.IStapleOptionItem[] items)

Tham số

optionName string

Tên tùy chọn.

items Staple.IStapleOptionItem[]

Một mảng tùy ý của các thể hiện Aspose.Page.XPS.XpsMetadata.Staple.IStapleOptionItem.

Các trường

None

Xác định không có ghim.

public static readonly Staple.StapleOption None

Giá trị trường

Staple.StapleOption

SaddleStitch

Xác định ghim kiểu saddle stitch.

public static readonly Staple.StapleOption SaddleStitch

Giá trị trường

Staple.StapleOption

StapleBottomLeft

Xác định một ghim ở góc dưới bên trái.

public static readonly Staple.StapleOption StapleBottomLeft

Giá trị trường

Staple.StapleOption

StapleBottomRight

Xác định một ghim ở góc dưới bên phải.

public static readonly Staple.StapleOption StapleBottomRight

Giá trị trường

Staple.StapleOption

StapleDualBottom

Xác định hai ghim dọc theo cạnh dưới.

public static readonly Staple.StapleOption StapleDualBottom

Giá trị trường

Staple.StapleOption

StapleDualLeft

Xác định hai ghim dọc theo cạnh trái.

public static readonly Staple.StapleOption StapleDualLeft

Giá trị trường

Staple.StapleOption

StapleDualRight

Xác định hai ghim dọc theo cạnh phải.

public static readonly Staple.StapleOption StapleDualRight

Giá trị trường

Staple.StapleOption

StapleDualTop

Xác định hai ghim dọc theo cạnh trên.

public static readonly Staple.StapleOption StapleDualTop

Giá trị trường

Staple.StapleOption

StapleTopLeft

Xác định một ghim ở góc trên bên trái.

public static readonly Staple.StapleOption StapleTopLeft

Giá trị trường

Staple.StapleOption

StapleTopRight

Xác định một ghim ở góc trên bên phải.

public static readonly Staple.StapleOption StapleTopRight

Giá trị trường

Staple.StapleOption

Các phương thức

Add(params IStapleOptionItem[])

Thêm một mảng các thể hiện Aspose.Page.XPS.XpsMetadata.Staple.IStapleOptionItem vào tính năng.

public Staple.StapleOption Add(params Staple.IStapleOptionItem[] items)

Tham số

items Staple.IStapleOptionItem[]

Một mảng tùy ý của các thể hiện Aspose.Page.XPS.XpsMetadata.Staple.IStapleOptionItem.

Trả về

Staple.StapleOption

Thể hiện tùy chọn này.

SetAngle(int)

Đặt giá trị thuộc tính Angle.

public Staple.StapleOption SetAngle(int angle)

Tham số

angle int

Giá trị thuộc tính Angle.

Trả về

Staple.StapleOption

Thể hiện tùy chọn này.

SetSheetCapacity(int)

Đặt giá trị thuộc tính SheetCapacity.

public Staple.StapleOption SetSheetCapacity(int sheetCapacity)

Tham số

sheetCapacity int

Giá trị thuộc tính SheetCapacity.

Trả về

Staple.StapleOption

Thể hiện tùy chọn này.

 Tiếng Việt