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:
 
- Implemented in:
 - DrawCanvas
 
Draws a piece of text within the drawing area.
- Type:
 - (textOptions: IDrawTextOptions) => void
 
- Parameters:
 
- 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. This object contain the following fields: xLeft, xRight, yTop, yBot.
- Type:
 - IRect readonly
 
- Implemented in:
 - DrawCanvas
 
Copyright © 2025 Devsoft Baltic OÜ. All rights reserved.