PdfContentEditor.CreateCaret

PdfContentEditor.CreateCaret metodu

İmleç anotasyonu oluşturur.

public void CreateCaret(int page, Rectangle annotRect, Rectangle caretRect, string symbol, 
    string annotContents, Color color)
ParametreTürAçıklama
sayfaInt32Anotasyonun oluşturulacağı orijinal sayfa numarası.
annotRectDikdörtgenAnotasyonun sayfadaki konumunu tanımlayan anotasyon dikdörtgeni.
caretRectDikdörtgenTemel imlecin gerçek sınırları.
sembolDizeİmleç ile ilişkilendirilecek bir sembol. Değer şu olabilir: “P” (Paragraf), “Yok”.
annotContentsDizeAnotasyonun içeriği.
renkRenkAnotasyonun rengi.

Örnekler

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateCaret(1,
    new System.Drawing.Rectangle(50, 50, 100, 100),
    new System.Drawing.Rectangle(60, 60, 70, 70),
    "None", "Welcome to Aspose", System.Drawing.Color.Red);
editor.Save("example_out.pdf");

Ayrıca Bakınız