PdfRedactAnnotation
Represents a redaction annotation that marks content to be redacted.
from nutrient import PdfRedactAnnotationMethods
set_border_style
def set_border_style(self, value: PdfBorderStyle) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | PdfBorderStyle |
set_border_width
def set_border_width(self, value: float) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | float |
set_color
def set_color(self, value: Color) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | Color |
set_contents
def set_contents(self, value: str) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | str |
set_interior_color
def set_interior_color(self, value: Color) -> NoneSets the interior color (fill color after redaction is applied).
Parameters:
| Name | Type | Description |
|---|---|---|
value | Color | The value to set for the InteriorColor property. |
set_is_hidden
def set_is_hidden(self, value: bool) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | bool |
set_is_printable
def set_is_printable(self, value: bool) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | bool |
set_opacity
def set_opacity(self, value: float) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | float |
set_rect
def set_rect(self, value: Any) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | Any |
set_subject
def set_subject(self, value: str) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | str |
set_title
def set_title(self, value: str) -> NoneParameters:
| Name | Type | Description |
|---|---|---|
value | str |
Properties
border_style
@propertydef border_style(self) -> PdfBorderStyleType: PdfBorderStyle
Read-only property.
border_width
@propertydef border_width(self) -> floatType: float
Read-only property.
color
@propertydef color(self) -> ColorType: Color
Read-only property.
contents
@propertydef contents(self) -> strType: str
Read-only property.
creation_date
@propertydef creation_date(self) -> strType: str
Read-only property.
index
@propertydef index(self) -> intType: int
Read-only property.
interior_color
@propertydef interior_color(self) -> ColorGets the interior color (fill color after redaction is applied).
Type: Color
Read-only property.
is_hidden
@propertydef is_hidden(self) -> boolType: bool
Read-only property.
is_printable
@propertydef is_printable(self) -> boolType: bool
Read-only property.
modification_date
@propertydef modification_date(self) -> strType: str
Read-only property.
name
@propertydef name(self) -> strType: str
Read-only property.
opacity
@propertydef opacity(self) -> floatType: float
Read-only property.
rect
@propertydef rect(self) -> AnyType: Any
Read-only property.
rich_text_contents
@propertydef rich_text_contents(self) -> strType: str
Read-only property.
subject
@propertydef subject(self) -> strType: str
Read-only property.
sub_type
@propertydef sub_type(self) -> strType: str
Read-only property.
title
@propertydef title(self) -> strType: str
Read-only property.