function DeleteAttachment(Index: Integer): Boolean;
指定した index の embedded file attachment を削除します
削除後は index が詰まります。複数削除するときは上から順に削除してください
現在ページへの編集はすべて PDFium の in-memory representation に buffered されます。rendering cache を更新するには UpdatePage を呼び、変更を保存するには SaveToFile を呼んでください
TColor 値です。PDFiumPas は内部で PDF DeviceRGB に変換しますPdf1.Active が True であり、page が選択されている必要があります
begin
if Pdf1.Active then
begin
Pdf1.MoveTo(100, 100);
Pdf1.LineTo(200, 150);
Pdf1.LineTo(200, 200);
Pdf1.ClosePath;
Pdf1.AddPath(clRed, 1.5, clYellow, fmWinding);
Pdf1.UpdatePage;
end;
end;