Class Staple.StapleOption

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

Наследование

objectPrintTicketElementCompositePrintTicketElementOptionStaple.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

Значение поля

Staple.StapleOption

SaddleStitch

Указывает на скрепление в виде “книжки”.

public static readonly Staple.StapleOption SaddleStitch

Значение поля

Staple.StapleOption

StapleBottomLeft

Указывает на одну скрепку в нижнем левом углу.

public static readonly Staple.StapleOption StapleBottomLeft

Значение поля

Staple.StapleOption

StapleBottomRight

Указывает на одну скрепку в нижнем правом углу.

public static readonly Staple.StapleOption StapleBottomRight

Значение поля

Staple.StapleOption

StapleDualBottom

Указывает на две скрепки вдоль нижнего края.

public static readonly Staple.StapleOption StapleDualBottom

Значение поля

Staple.StapleOption

StapleDualLeft

Указывает на две скрепки вдоль левого края.

public static readonly Staple.StapleOption StapleDualLeft

Значение поля

Staple.StapleOption

StapleDualRight

Указывает на две скрепки вдоль правого края.

public static readonly Staple.StapleOption StapleDualRight

Значение поля

Staple.StapleOption

StapleDualTop

Указывает на две скрепки вдоль верхнего края.

public static readonly Staple.StapleOption StapleDualTop

Значение поля

Staple.StapleOption

StapleTopLeft

Указывает на одну скрепку в верхнем левом углу.

public static readonly Staple.StapleOption StapleTopLeft

Значение поля

Staple.StapleOption

StapleTopRight

Указывает на одну скрепку в верхнем правом углу.

public static readonly Staple.StapleOption StapleTopRight

Значение поля

Staple.StapleOption

Методы

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.

Возвращает

Staple.StapleOption

Экземпляр этого параметра.

SetAngle(int)

Устанавливает значение свойства Angle.

public Staple.StapleOption SetAngle(int angle)

Параметры

angle int

Значение свойства Angle.

Возвращает

Staple.StapleOption

Экземпляр этого параметра.

SetSheetCapacity(int)

Устанавливает значение свойства SheetCapacity.

public Staple.StapleOption SetSheetCapacity(int sheetCapacity)

Параметры

sheetCapacity int

Значение свойства SheetCapacity.

Возвращает

Staple.StapleOption

Экземпляр этого параметра.

 Русский