pdftools_sdk.optimization.removal_strategy

Classes

RemovalStrategy(value)

The removal strategy for PDF objects

class pdftools_sdk.optimization.removal_strategy.RemovalStrategy(value)[source]

Bases: IntEnum

The removal strategy for PDF objects

Variables:
  • FLATTEN (int) – The object is removed, but its visual appearance is drawn as non-editable graphic onto the output page.

  • REMOVE (int) – The object is removed together with its visual appearance.

FLATTEN = 2
REMOVE = 3