PrinterMarkAnnotation.AddPrinterMarks
Contents
[
Hide
]AddPrinterMarks(Document, PrinterMarksKind)
Adds printer’s marks to all pages in the specified document.
public static void AddPrinterMarks(Document document, PrinterMarksKind marksKind)
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document to which the printer’s marks will be added. |
| marksKind | PrinterMarksKind | The kind of printer’s marks to add. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when the document is null. |
Remarks
This method adds various types of printer’s marks based on the provided PrinterMarksKind flags. If None is provided, no marks are added.
See Also
- class Document
- enum PrinterMarksKind
- class PrinterMarkAnnotation
- namespace Aspose.Pdf.Annotations
- assembly Aspose.PDF
AddPrinterMarks(Page, PrinterMarksKind)
Adds printer’s marks to the specified page.
public static void AddPrinterMarks(Page page, PrinterMarksKind marksKind)
| Parameter | Type | Description |
|---|---|---|
| page | Page | The page to which the printer’s marks will be added. |
| marksKind | PrinterMarksKind | The kind of printer’s marks to add. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when the page is null. |
Remarks
This method adds various types of printer’s marks based on the provided PrinterMarksKind flags. If None is provided, no marks are added.
See Also
- class Page
- enum PrinterMarksKind
- class PrinterMarkAnnotation
- namespace Aspose.Pdf.Annotations
- assembly Aspose.PDF