PrinterMarkAnnotation.AddPrinterMarks

AddPrinterMarks(Document, PrinterMarksKind)

Adds printer’s marks to all pages in the specified document.

public static void AddPrinterMarks(Document document, PrinterMarksKind marksKind)
ParameterTypeDescription
documentDocumentThe document to which the printer’s marks will be added.
marksKindPrinterMarksKindThe kind of printer’s marks to add.

Exceptions

exceptioncondition
ArgumentNullExceptionThrown 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


AddPrinterMarks(Page, PrinterMarksKind)

Adds printer’s marks to the specified page.

public static void AddPrinterMarks(Page page, PrinterMarksKind marksKind)
ParameterTypeDescription
pagePageThe page to which the printer’s marks will be added.
marksKindPrinterMarksKindThe kind of printer’s marks to add.

Exceptions

exceptioncondition
ArgumentNullExceptionThrown 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