PdfBorderStyle
Specifies the border style for annotations.
from nutrient import PdfBorderStyleValues
| Name | Value | Description |
|---|---|---|
PdfBorderStyle.SOLID | 0 | A solid rectangle surrounding the annotation. |
PdfBorderStyle.DASHED | 1 | A dashed rectangle surrounding the annotation. |
PdfBorderStyle.BEVELED | 2 | A simulated embossed rectangle that appears raised above the page surface. |
PdfBorderStyle.INSET | 3 | A simulated engraved rectangle that appears recessed below the page surface. |
PdfBorderStyle.UNDERLINE | 4 | A single line along the bottom of the annotation rectangle. |
Usage Example
from nutrient import PdfBorderStyle
# Access enum valuesvalue = PdfBorderStyle.SOLIDprint(f"Value: {value}") # Output: Value: PdfBorderStyle.SOLIDprint(f"Integer value: {value.value}") # Output: Integer value: 0