What is Incisor?
Tutorials
Key Concepts
Reddit
Stack Overflow
Deprecation Schedule

PdfParagraph()

A PdfParagraph is an object defining a block of text and the associated formatting within a Pdf. To make a new PdfParagraph, call 'addParagraph' on the PdfSection, PdfCell, PdfHeader or PdfFooter, you wish to add the block of text to. [NON-INSTANTIABLE]

new PdfParagraph()

A PdfParagraph is an object defining a block of text and the associated formatting within a Pdf. To make a new PdfParagraph, call 'addParagraph' on the PdfSection, PdfCell, PdfHeader or PdfFooter, you wish to add the block of text to. [NON-INSTANTIABLE]

MEMBERS

fontName :string

The name of the font that will be used to render the text in this PdfParagraph. This value will default to the defualtFontName value of the containing Pdf. To use a new font, you must define it using "Pdf.defineFont", and also ensure that the associated font files are in the 'Pdf Fonts' directory of the IncisorĀ® application support directory, which can be accessed from the IncisorĀ® menu.

Default Value:
  • defaultFontName

fontSize :number

The height of the pages within this PdfSection. This value will default to the defualtFontSize value of the containing Pdf.

Default Value:
  • defaultFontSize

inheritedTypes :object

Dictionary object listing all of the types this object is compatible with.

text :string

The text to be displayed in this PdfParagraph.

Default Value:
  • "paragraph"

type :string

Type identifier.