new PdfImage()
A PdfImage is an object defining an image element within a Pdf. A PdfImage can reside within a PdfSection, PdfHeader, PdfFooter or PdfCell. [NON-INSTANTIABLE]
MEMBERS
-
imagePath :string
-
- Default Value:
- ""
-
inheritedTypes :object
-
Dictionary object listing all of the types this object is compatible with.
-
isPathLocal :boolean
-
- Default Value:
- true
-
justificationH :string
-
The horizontal justification of this PdfImage. For acceptable values, see 'nc.constants.justfications'.
- Default Value:
- "center"
-
justificationV :string
-
The vertical justification of this PdfImage For acceptable values, see 'nc.constants.justfications'.
- Default Value:
- "center"
-
scaleHeight :number
-
The vertical scale of this PdfImage.
- Default Value:
- 1.0
-
scaleWidth :number
-
The horizontal scale of this PdfImage.
- Default Value:
- 1.0
-
type :string
-
Type identifier.
METHODS
-
scaleImage(scaleValue)
-
Sets the horizontal and vertical scales of this PdfImage.
Parameters:
Name Type Attributes Default Description scaleValue
number