procedure RemoveAnnotationObject(Index, ObjectIndex: Integer);
| Index | Integer. Zero-based index of the annotation on the current page. |
| ObjectIndex | Integer. Zero-based index of the object to delete, below AnnotationObjectCount. An out-of-range index raises EPdfError. |
ink または stamp 注釈から、残り、注釈辞書、ページコンテンツに触れずに 1 つのストロークや形状を削除します
削除後に後続のオブジェクトは番号が振り直されるため、複数を削除するループはインデックスを逆順に走査するべきです
注釈オブジェクト編集を持たない PDFium ビルドでは、黙って失敗せずに例外を発生させるため、呼び出し側は編集が行われなかったことを常に知ります