public abstract class PrinterMarkAnnotation extends Annotation
Abstract class representing printer mark annotation.
Modifier and Type | Method and Description |
---|---|
static void |
addPrinterMarks(Document document,
int marksKind)
Adds printer's marks to all pages in the specified document.
|
static void |
addPrinterMarks(Page page,
int marksKind)
Adds printer's marks to the specified page.
|
accept, changeAfterResize, createAnnotation, flatten, getActiveState, getAlignment, getAnnotationType, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public static void addPrinterMarks(Document document, int marksKind)
Adds printer's marks to all pages in the specified document.
document
- The document to which the printer's marks will be added.marksKind
- The kind of printer's marks to add.
This method adds various types of printer's marks based on the provided {PrinterMarksKind} flags. If {PrinterMarksKind#None} is provided, no marks are added.
com.aspose.ms.System.ArgumentNullException
- Thrown when the document
is null.public static void addPrinterMarks(Page page, int marksKind)
Adds printer's marks to the specified page.
page
- The page to which the printer's marks will be added.marksKind
- The kind of printer's marks to add.
This method adds various types of printer's marks based on the provided {PrinterMarksKind} flags. If {PrinterMarksKind#None} is provided, no marks are added.
com.aspose.ms.System.ArgumentNullException
- Thrown when the page
is null.Copyright © 2025 Aspose. All Rights Reserved.