Add a new text note to the page to be saved next. The optional positionRect specifies the position of the new note on the page. It is outside the page per default to make sure it is invisible on printouts.
(self, text, positionRect=[-100, -100, 0, 0])
| 2702 | return len(self._ensure_file().pageList) |
| 2703 | |
| 2704 | def attach_note(self, text, positionRect=[-100, -100, 0, 0]): |
| 2705 | """ |
| 2706 | Add a new text note to the page to be saved next. The optional |
| 2707 | positionRect specifies the position of the new note on the |
| 2708 | page. It is outside the page per default to make sure it is |
| 2709 | invisible on printouts. |
| 2710 | """ |
| 2711 | self._ensure_file().newTextnote(text, positionRect) |
| 2712 | |
| 2713 | |
| 2714 | class FigureCanvasPdf(FigureCanvasBase): |
no test coverage detected