CreateSquareCircle
PdfContentEditor.CreateSquareCircle method
Создает аннотацию квадрат-круг.
public void CreateSquareCircle(Rectangle rect, string contents, Color clr, bool square, int page,
int borderWidth)
Параметр | Тип | Описание |
---|---|---|
rect | Rectangle | Прямоугольник аннотации, определяющий расположение аннотации на странице. |
contents | String | Содержание аннотации. |
clr | Color | Цвет квадрата или круга. |
square | Boolean | Правда (квадрат), ложь (круг). |
page | Int32 | Номер исходной страницы, на которой будет создана аннотация. |
borderWidth | Int32 | Ширина границы квадрата или круга. |
Примеры
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.CreateSquareCircle(new System.Drawing.Rectangle(0, 0, 100, 100),
"Welcome to Aspose", System.Drawing.Color.Red, false, 1, 5);
editor.Save("example_out.pdf");
Смотрите также
- class PdfContentEditor
- пространство имен Aspose.Pdf.Facades
- сборка Aspose.PDF