public final class TrimMarkAnnotation extends CornerPrinterMarkAnnotation
Represents a Trim Mark annotation.
Trim marks are placed at the corners of a printed page to indicate where the page is to be trimmed.
Constructor and Description |
---|
TrimMarkAnnotation(Page page,
PrinterMarkCornerPosition position)
Initializes a new instance of the
TrimMarkAnnotation class. |
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
|
AnnotationType |
getAnnotationType()
Gets type of annotation.
|
getPosition, setPosition
addPrinterMarks, addPrinterMarks
changeAfterResize, createAnnotation, flatten, getActiveState, getAlignment, 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 TrimMarkAnnotation(Page page, PrinterMarkCornerPosition position)
Initializes a new instance of the TrimMarkAnnotation
class.
page
- The page where the annotation will be added.position
- The position of the trim mark on the page.
This constructor creates a TrimMarkAnnotation and adds it to the specified page at the specified position.
public AnnotationType getAnnotationType()
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType
public void accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
accept
in class Annotation
visitor
- AnnotationSelector object.Copyright © 2025 Aspose. All Rights Reserved.