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)
ParametreTipTanım
titleStringYer iminin başlığı.
colorColorYer iminin başlığının rengi.
boldFlagBooleanCesur atıf bayrağı.
italicFlagBooleanİtalik atıf bayrağı.
fileStringEylem türü “GoToR” veya “Launch” olduğunda başka bir dosya veya uygulama gerekir.
actionTypeStringEylem türü. Değer şunlar olabilir: “GoToR”, “Launch”, “GoTo”, “URI”.
destinationStringYerel 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