PDFium Delphi Component Docs

AnnotationObjectInfo メソッド

コンポーネント: TPdf  ·  ユニット: PDFium
注釈が所有する 1 つのページオブジェクトの属性を読み取ります

構文

function AnnotationObjectInfo(Index, ObjectIndex: Integer): TPdfPageObjectInfo;

IndexInteger. Zero-based index of the annotation on the current page.
ObjectIndexInteger. Zero-based index of the object within that annotation, below AnnotationObjectCount.
ResultTPdfPageObjectInfo. The same snapshot record PageObjectInfo returns for page content: handle, type, bounds, matrix, colours, stroke width, line style, and dash pattern.

説明

注釈に、ページコンテンツが既に持っているのと同じレベルの検査能力を与えます。たとえば ink 注釈はストロークごとに 1 つのパスオブジェクトを報告し、それぞれ独自の色と幅を持ちます

Handle フィールドは、PDFium を通じて編集された後、UpdateAnnotationObject に渡すことができます

座標は PDF ページ単位で、アピアランスストリーム空間ではなく注釈矩形と一致します

関連項目

AnnotationObjectCount, PageObjectInfo, UpdateAnnotationObject, Annotation