DrawCanvas
An object that describes a drawing area and enables you to draw an image or a piece of text within the area. You can access this object within functions that handle SurveyPDF
's onRenderHeader
and onRenderFooter
events.
Draws an image within the drawing area.
- Type:
- (imageOptions: IDrawImageOptions) => any
- Parameters:
-
imageOptions, type: IDrawImageOptions ,
An object that configures drawing.
- Implemented in:
- DrawCanvas
Draws a piece of text within the drawing area.
- Type:
- (textOptions: IDrawTextOptions) => void
- Parameters:
-
textOptions, type: IDrawTextOptions ,
An object that configures the drawing.
- Implemented in:
- DrawCanvas
The number of the page that contains the drawing area. Enumeration starts with 1.
- Type:
- number readonly
- Implemented in:
- DrawCanvas
An object with coordinates of a rectangle that limits the drawing area.
- Type:
- IRect readonly
- Implemented in:
- DrawCanvas
Copyright © 2023 Devsoft Baltic OÜ. All rights reserved.