CreateRubberStamp
محتويات
[
يخفي
]CreateRubberStamp(int, Rectangle, string, string, Color)
ينشئ تعليقًا توضيحيًا بختم مطاطي .
public void CreateRubberStamp(int page, Rectangle annotRect, string icon, string annotContents,
Color color)
معامل | يكتب | وصف |
---|---|---|
page | Int32 | رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي. |
annotRect | Rectangle | مستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة. |
icon | String | يجب استخدام رمز في عرض التعليق التوضيحي. القيمة الافتراضية: “مسودة”. " |
annotContents | String | محتويات الشرح. |
color | Color | لون التعليق التوضيحي. |
أمثلة
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");
أنظر أيضا
- class PdfContentEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
CreateRubberStamp(int, Rectangle, string, Color, string)
ينشئ تعليقًا توضيحيًا بختم مطاطي .
public void CreateRubberStamp(int page, Rectangle annotRect, string annotContents, Color color,
string appearanceFile)
معامل | يكتب | وصف |
---|---|---|
page | Int32 | رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي. |
annotRect | Rectangle | مستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة. |
annotContents | String | محتويات الشرح. |
color | Color | لون التعليق التوضيحي. |
appearanceFile | String | مسار ملف المظهر. |
أمثلة
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");
أنظر أيضا
- class PdfContentEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
CreateRubberStamp(int, Rectangle, string, Color, Stream)
ينشئ تعليقًا توضيحيًا بختم مطاطي .
public void CreateRubberStamp(int page, Rectangle annotRect, string annotContents, Color color,
Stream appearanceStream)
معامل | يكتب | وصف |
---|---|---|
page | Int32 | رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي. |
annotRect | Rectangle | مستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة. |
annotContents | String | محتويات الشرح. |
color | Color | لون التعليق التوضيحي. |
appearanceStream | Stream | دفق ملف المظهر. |
أمثلة
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");
}
أنظر أيضا
- class PdfContentEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF