Staple.StapleOption
Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Option
public static final class Staple.StapleOption extends Option
JobStapleAllDocuments と DocumentStaple の機能オプションについて説明します。
コンストラクタ
| コンストラクタ | 説明 |
|---|---|
| StapleOption(String optionName, Staple.IStapleOptionItem[] items) | 新しいインスタンスを作成します。 |
フィールド
| フィールド | 説明 |
|---|---|
| None | 綴じなしを指定します。 |
| SaddleStitch | サドルステッチ綴じを指定します。 |
| StapleBottomLeft | 左下隅に1本のホチキス留めを指定します。 |
| StapleBottomRight | 右下隅に1本のホチキス留めを指定します。 |
| StapleDualBottom | 下端に沿って2本のホチキス留めを指定します。 |
| StapleDualLeft | 左端に沿って2本のホチキス留めを指定します。 |
| StapleDualRight | 右端に沿って2本のホチキス留めを指定します。 |
| StapleDualTop | 上端に沿って2本のホチキス留めを指定します |
| StapleTopLeft | 左上隅に1本のホチキス留めを指定します。 |
| StapleTopRight | 右上隅に1本のホチキス留めを指定します。 |
メソッド
| メソッド | 説明 |
|---|---|
| add(IOptionItem[] items) | このオプションの項目リストの末尾に項目のリストを追加します。 |
| add(Staple.IStapleOptionItem[] items) | 機能に IStapleOptionItem インスタンスの配列を追加します。 |
| equals(Object arg0) | |
| getClass() | |
| getName() | 要素名を取得します。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setAngle(int angle) | Angle のスコア付きプロパティ値を設定します。 |
| setSheetCapacity(int sheetCapacity) | SheetCapacity のスコア付きプロパティ値を設定します。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
StapleOption(String optionName, Staple.IStapleOptionItem[] items)
public StapleOption(String optionName, Staple.IStapleOptionItem[] items)
新しいインスタンスを作成します。
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| optionName | java.lang.String | オプション名です。 |
| items | IStapleOptionItem[] | 任意の IStapleOptionItem インスタンスの配列です。 |
None
public static final Staple.StapleOption None
綴じなしを指定します。
SaddleStitch
public static final Staple.StapleOption SaddleStitch
サドルステッチ綴じを指定します。
StapleBottomLeft
public static final Staple.StapleOption StapleBottomLeft
左下隅に1本のホチキス留めを指定します。
StapleBottomRight
public static final Staple.StapleOption StapleBottomRight
右下隅に1本のホチキス留めを指定します。
StapleDualBottom
public static final Staple.StapleOption StapleDualBottom
下端に沿って2本のホチキス留めを指定します。
StapleDualLeft
public static final Staple.StapleOption StapleDualLeft
左端に沿って2本のホチキス留めを指定します。
StapleDualRight
public static final Staple.StapleOption StapleDualRight
右端に沿って2本のホチキス留めを指定します。
StapleDualTop
public static final Staple.StapleOption StapleDualTop
上端に沿って2本のホチキス留めを指定します
StapleTopLeft
public static final Staple.StapleOption StapleTopLeft
左上隅に1本のホチキス留めを指定します。
StapleTopRight
public static final Staple.StapleOption StapleTopRight
右上隅に1本のホチキス留めを指定します。
add(IOptionItem[] items)
public void add(IOptionItem[] items)
このオプションの項目リストの末尾に項目のリストを追加します。各項目は ScoredProperty または Property のインスタンスでなければなりません。
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| items | IOptionItem[] | 追加する項目のリスト。 |
add(Staple.IStapleOptionItem[] items)
public Staple.StapleOption add(Staple.IStapleOptionItem[] items)
機能に IStapleOptionItem インスタンスの配列を追加します。
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| items | IStapleOptionItem[] | 任意の IStapleOptionItem インスタンスの配列です。 |
Returns: StapleOption - This options instance.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
要素名を取得します。
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAngle(int angle)
public final Staple.StapleOption setAngle(int angle)
Angle のスコア付きプロパティ値を設定します。
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| angle | int | Angle のスコア付きプロパティ値です。 |
Returns: StapleOption - This option instance.
setSheetCapacity(int sheetCapacity)
public final Staple.StapleOption setSheetCapacity(int sheetCapacity)
SheetCapacity のスコア付きプロパティ値を設定します。
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| sheetCapacity | int | SheetCapacity のスコア付きプロパティ値です。 |
Returns: StapleOption - This option instance.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメータ | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |