Specifies the border style for annotations.

from nutrient import PdfBorderStyle

Values

NameValueDescription
PdfBorderStyle.SOLID0A solid rectangle surrounding the annotation.
PdfBorderStyle.DASHED1A dashed rectangle surrounding the annotation.
PdfBorderStyle.BEVELED2A simulated embossed rectangle that appears raised above the page surface.
PdfBorderStyle.INSET3A simulated engraved rectangle that appears recessed below the page surface.
PdfBorderStyle.UNDERLINE4A single line along the bottom of the annotation rectangle.

Usage Example

from nutrient import PdfBorderStyle
# Access enum values
value = PdfBorderStyle.SOLID
print(f"Value: {value}") # Output: Value: PdfBorderStyle.SOLID
print(f"Integer value: {value.value}") # Output: Integer value: 0