CreateCaret
PdfContentEditor.CreateCaret method
Crea una anotación de intercalación.
public void CreateCaret(int page, Rectangle annotRect, Rectangle caretRect, string symbol,
string annotContents, Color color)
Parámetro | Escribe | Descripción |
---|---|---|
page | Int32 | El número de página original donde se creará la anotación. |
annotRect | Rectangle | El rectángulo de anotación que define la ubicación de la anotación en la página. |
caretRect | Rectangle | Los límites reales del símbolo de intercalación subyacente. |
symbol | String | Se asociará un símbolo con el símbolo de intercalación. El valor puede ser: “P” (Párrafo), “Ninguno”. |
annotContents | String | El contenido de la anotación. |
color | Color | El color de la anotación. |
Ejemplos
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");
Ver también
- class PdfContentEditor
- espacio de nombres Aspose.Pdf.Facades
- asamblea Aspose.PDF