Skip to content

Commit 9e1e5a2

Browse files
Update code example to work in evaluation mode
1 parent 3ad19e8 commit 9e1e5a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Examples/developer-guide/converting-documents/add-watermark-to-converted-document/add_watermark_to_converted_document.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def add_watermark_to_converted_document():
1616

1717
# Set up the conversion options
1818
options = PdfConvertOptions()
19+
options.pages_count = 1
1920
options.watermark = watermark
2021

2122
# Perform the conversion

0 commit comments

Comments
 (0)