## PrinterMarkAnnotation::AddPrinterMarks(const System::SharedPtr\<Aspose::Pdf::Page\>\&, PrinterMarksKind) method


Adds printer's marks to the specified page.

```cpp
static void Aspose::Pdf::Annotations::PrinterMarkAnnotation::AddPrinterMarks(const System::SharedPtr<Aspose::Pdf::Page> &page, PrinterMarksKind marksKind)
```


| Parameter | Type | Description |
| --- | --- | --- |
| page | const System::SharedPtr\<Aspose::Pdf::Page\>\& | The page to which the printer's marks will be added. |
| marksKind | PrinterMarksKind | The kind of printer's marks to add. |
## Remarks



This method adds various types of printer's marks based on the provided [PrinterMarksKind](../../printermarkskind/) flags. If [PrinterMarksKind::None](../../printermarkskind/) is provided, no marks are added. 
## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Page](../../../aspose.pdf/page/)
* Enum [PrinterMarksKind](../../printermarkskind/)
* Class [PrinterMarkAnnotation](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## PrinterMarkAnnotation::AddPrinterMarks(const System::SharedPtr\<Document\>\&, PrinterMarksKind) method


Adds printer's marks to all pages in the specified document.

```cpp
static void Aspose::Pdf::Annotations::PrinterMarkAnnotation::AddPrinterMarks(const System::SharedPtr<Document> &document, PrinterMarksKind marksKind)
```


| Parameter | Type | Description |
| --- | --- | --- |
| document | const System::SharedPtr\<Document\>\& | The document to which the printer's marks will be added. |
| marksKind | PrinterMarksKind | The kind of printer's marks to add. |
## Remarks



This method adds various types of printer's marks based on the provided [PrinterMarksKind](../../printermarkskind/) flags. If [PrinterMarksKind::None](../../printermarkskind/) is provided, no marks are added. 
## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Document](../../../aspose.pdf/document/)
* Enum [PrinterMarksKind](../../printermarkskind/)
* Class [PrinterMarkAnnotation](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
