CreateBookmarksAction
PdfContentEditor.CreateBookmarksAction method
Belirtilen eylemle bir yer imi oluşturur.
public void CreateBookmarksAction(string title, Color color, bool boldFlag, bool italicFlag,
string file, string actionType, string destination)
Parametre | Tip | Tanım |
---|---|---|
title | String | Yer iminin başlığı. |
color | Color | Yer iminin başlığının rengi. |
boldFlag | Boolean | Cesur atıf bayrağı. |
italicFlag | Boolean | İtalik atıf bayrağı. |
file | String | Eylem türü “GoToR” veya “Launch” olduğunda başka bir dosya veya uygulama gerekir. |
actionType | String | Eylem türü. Değer şunlar olabilir: “GoToR”, “Launch”, “GoTo”, “URI”. |
destination | String | Yerel hedef veya uzak hedef veya URL. |
Örnekler
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateBookmarksAction("bookmark title",
System.Drawing.Color.Red, true, true, null, "GoTo", 1/*page number*/);
editor.Save("example_out.pdf");
Ayrıca bakınız
- class PdfContentEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF