CreatePolyLine
PdfContentEditor.CreatePolyLine method
إنشاء تعليق توضيحي متعدد الخطوط .
public void CreatePolyLine(LineInfo lineInfo, int page, Rectangle annotRect, string annotContents)
معامل | يكتب | وصف |
---|---|---|
lineInfo | LineInfo | مثيل فئة LineInfo. |
page | Int32 | رقم الصفحة الأصلية حيث سيتم إنشاء التعليق التوضيحي. |
annotRect | Rectangle | مستطيل التعليق التوضيحي الذي يحدد موقع التعليق التوضيحي على الصفحة. |
annotContents | String | محتويات الشرح. |
أمثلة
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
LineInfo lineInfo = new LineInfo();
lineInfo.VerticeCoordinate = new float[] { 0, 0, 100, 100, 100, 50 };
lineInfo.Visibility = true;
editor.CreatePolyLine(lineInfo, 1 , new System.Drawing.Rectangle(0, 0, 0, 0), "Welcome to Aspose");
editor.Save("example_out.pdf");
أنظر أيضا
- class LineInfo
- class PdfContentEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF