CreateRubberStamp

CreateRubberStamp(int, Rectangle, string, string, Color)

ينشئ تعليقًا توضيحيًا بختم مطاطي .

public void CreateRubberStamp(int page, Rectangle annotRect, string icon, string annotContents, 
    Color color)
معامليكتبوصف
pageInt32رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي.
annotRectRectangleمستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة.
iconStringيجب استخدام رمز في عرض التعليق التوضيحي. القيمة الافتراضية: “مسودة”. "
annotContentsStringمحتويات الشرح.
colorColorلون التعليق التوضيحي.

أمثلة

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateRubberStamp(1, System.Drawing.Rectangle(0, 0, 100, 100),
    "Welcome to Aspose", System.Drawing.Color.Red);
editor.Save("example_out.pdf");

أنظر أيضا


CreateRubberStamp(int, Rectangle, string, Color, string)

ينشئ تعليقًا توضيحيًا بختم مطاطي .

public void CreateRubberStamp(int page, Rectangle annotRect, string annotContents, Color color, 
    string appearanceFile)
معامليكتبوصف
pageInt32رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي.
annotRectRectangleمستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة.
annotContentsStringمحتويات الشرح.
colorColorلون التعليق التوضيحي.
appearanceFileStringمسار ملف المظهر.

أمثلة

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateRubberStamp(1, System.Drawing.Rectangle(0, 0, 100, 100),
    "Welcome to Aspose", System.Drawing.Color.Red, "appearance_file.pdf");
editor.Save("example_out.pdf");

أنظر أيضا


CreateRubberStamp(int, Rectangle, string, Color, Stream)

ينشئ تعليقًا توضيحيًا بختم مطاطي .

public void CreateRubberStamp(int page, Rectangle annotRect, string annotContents, Color color, 
    Stream appearanceStream)
معامليكتبوصف
pageInt32رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي.
annotRectRectangleمستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة.
annotContentsStringمحتويات الشرح.
colorColorلون التعليق التوضيحي.
appearanceStreamStreamدفق ملف المظهر.

أمثلة

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
using (System.IO.FileStream appStream = File.OpenRead("appearance_file.pdf"))
{
    editor.CreateRubberStamp(1, System.Drawing.Rectangle(0, 0, 100, 100),
        "Welcome to Aspose", System.Drawing.Color.Red, appStream);
    editor.Save("example_out.pdf");
}    

أنظر أيضا