NamedDestination

NamedDestination

概要

NamedDestination は Aspose.PDF の .NET 用 FOSS のクラスです。継承元: Aspose.Pdf.Annotations.IAppointment。

文書内の名前付きデスティネーションを表します(PDF32000 §12.3.2.3)。

このクラスは .NET プログラムで NamedDestination オブジェクトを操作するための8つのメソッドを提供します。利用可能なメソッドは、CreateFitDestination、CreateFitHDestination、CreateFitRDestination、CreateFitVDestination、CreateXYZDestination、NamedDestination、ToStringです。Aspose.PDF の .NET 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の .NET アプリケーションからアクセス可能です。プロパティ: Bottom、Left、Name、PageIndex、PageNumber、Right、およびその他3つ。

プロパティ

名前型アクセス説明
Namestring読み取り宛先の名前。
PageIndexint読み取り対象ページインデックス(0ベース)、解決できない場合は -1。
PageNumberint読み取り対象ページ番号(1ベース)、解決できない場合は0。
Typestring読み取り目的地タイプ(「Fit」「XYZ」「FitH」など)。
Leftdouble?読み取り左座標(XYZ、FitV、FitR、FitBV の場合)、または null。
Topdouble?読み取り上座標(XYZ、FitH、FitR、FitBH 用)、または null。
Rightdouble?読み取り右座標(FitR のみ用)、または null。
Bottomdouble?読み取り下座標(FitR のみ用)、または null。
Zoomdouble?読み取りズーム係数(XYZ のみ対象;null = 現在の設定を継承)。

メソッド

シグネチャ説明
NamedDestination(name: string)名前付きデスティネーション参照を作成する(名前のみ、デスティネーションの詳細は後で解決)。
NamedDestination(document: Document, name: string)ドキュメントにスコープされた名前付きデスティネーション参照を作成する。
CreateFitDestination(pageIndex: int)/Fit デスティネーションを作成: ページ全体がウィンドウ内に収まるように拡大縮小して表示します。
CreateFitHDestination(pageIndex: int, top: double)/FitH デスティネーションを作成: ページの垂直位置 top をウィンドウ上部に設定し、拡大率を幅に合わせて表示します。
CreateFitVDestination(pageIndex: int, left: double)/FitV デスティネーションを作成: ページの水平位置 left をウィンドウ左端に設定し、拡大率を高さに合わせて表示します。
CreateXYZDestination(pageIndex: int, left: double, top: double, zoom: double)/XYZ デスティネーションを作成: ページを位置 (left, top) に表示し、ズーム係数 zoom を適用します。
CreateFitRDestination(pageIndex: int, left: double, bottom: double, right: double, top: double)/FitR の宛先を作成: (left, bottom, right, top) で指定された矩形に合わせてページをズーム表示します。
ToString()この予約対象の人が読める表現。

参照

 日本語