Recurso de exportação de ficheiros PDF. Este recurso permite criar e exportar um ficheiro PDF, utiliza a biblioteca iText para gerar os PDFs
areaBreak
_pdf.areaBreak() : com.itextpdf.layout.element.AreaBreak
Description
Creates an AreaBreak that terminates a previous area type.
Return
( com.itextpdf.layout.element.AreaBreak )
Terminates the previous area and returns a new one.
_pdf.areaBreak(pageSize: com.itextpdf.kernel.geom.PageSize) : com.itextpdf.layout.element.AreaBreak
Description
Creates an AreaBreak that terminates a previous area type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
pageSize | com.itextpdf.kernel.geom.PageSize | Size of the new content. |
Return
( com.itextpdf.layout.element.AreaBreak )
Terminates the previous area and returns a new one.
_pdf.areaBreak(type: string) : com.itextpdf.layout.element.AreaBreak
Description
Creates an AreaBreak that terminates a previous area type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
type | string | Type of the new area. |
Return
( com.itextpdf.layout.element.AreaBreak )
Terminates the previous area and returns a new one.
border
_pdf.border(border: string) : com.itextpdf.layout.borders.Border
Description
Creates a border type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border width of the type inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: double, opacity: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
opacity | double |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: double, opacity: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
opacity | float |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: double, opacity: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
opacity | int |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: float, opacity: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
opacity | double |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: float, opacity: float) : com.itextpdf.layout.borders.Border
Description
Creates a customized border with type, color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns the created customized border.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: float, opacity: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type, color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, color, width and opacity inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: int, opacity: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
opacity | double |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: int, opacity: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
opacity | float |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, color: com.itextpdf.kernel.colors.Color, width: int, opacity: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
opacity | int |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, width: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border width of the type inserted,coloured black and the width inserted.
_pdf.border(border: string, width: double, opacity: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
opacity | double | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, width: double, opacity: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, color: double, width: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | double | Border color. |
width | int | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, width and color inserted.
_pdf.border(border: string, width: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border width of the type inserted,coloured black and the width inserted.
_pdf.border(border: string, width: float, opacity: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
opacity | double | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, width: float, opacity: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, width: float, opacity: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, width: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border width of the type inserted,coloured black and the width inserted.
_pdf.border(border: string, width: int, opacity: double) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
opacity | double | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, width: int, opacity: float) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
_pdf.border(border: string, width: int, opacity: int) : com.itextpdf.layout.borders.Border
Description
Creates a border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border )
Returns a border type, the width and opacity inserted, coloured black.
border3D
_pdf.border3D(border: string) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: double, opacity: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
opacity | double |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: double, opacity: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
opacity | float |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: double, opacity: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | double | Border width. |
opacity | int |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: float, opacity: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
opacity | double |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: float, opacity: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a customized 3D border with type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns the created customized 3D border.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: float, opacity: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | float | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, color, width and opacity inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: int, opacity: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
opacity | double |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: int, opacity: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
opacity | float |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width inserted.
_pdf.border3D(border: string, color: com.itextpdf.kernel.colors.Color, width: int, opacity: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
color | com.itextpdf.kernel.colors.Color | Border color. |
width | int | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type,color,width and opacity inserted.
_pdf.border3D(border: string, width: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a border type 3D with a inserted width.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border width of the type inserted,coloured black and the width inserted.
_pdf.border3D(border: string, width: double, opacity: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
opacity | double | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: double, opacity: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: double, opacity: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | double | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a border type 3D with a inserted width.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border width of the type inserted,coloured black and the width inserted.
_pdf.border3D(border: string, width: float, opacity: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
opacity | double | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: float, opacity: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: float, opacity: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | float | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a border type 3D.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border width of the type inserted,coloured black.
_pdf.border3D(border: string, width: int, opacity: double) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
opacity | double | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: int, opacity: float) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
opacity | float | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
_pdf.border3D(border: string, width: int, opacity: int) : com.itextpdf.layout.borders.Border3D
Description
Creates a 3D border type with a inserted width and opacity.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
border | string | Border type. |
width | int | Border width. |
opacity | int | Border opacity. |
Return
( com.itextpdf.layout.borders.Border3D )
Returns a 3D border type, the width and opacity inserted, coloured black.
canvas
_pdf.canvas(doc: com.itextpdf.kernel.pdf.PdfDocument, pageNum: int) : com.itextpdf.kernel.pdf.canvas.PdfCanvas
Description
Creates an rectangular text area.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
doc | com.itextpdf.kernel.pdf.PdfDocument | |
pageNum | int |
Return
( com.itextpdf.kernel.pdf.canvas.PdfCanvas )
_pdf.canvas(page: com.itextpdf.kernel.pdf.PdfPage) : com.itextpdf.kernel.pdf.canvas.PdfCanvas
Description
Creates an rectangular text area.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
page | com.itextpdf.kernel.pdf.PdfPage |
Return
( com.itextpdf.kernel.pdf.canvas.PdfCanvas )
cell
_pdf.cell() : com.itextpdf.layout.element.Cell
Description
Creates a new table cell.
Return
( com.itextpdf.layout.element.Cell )
Returns the created cell.
_pdf.cell(rowspan: int, colspan: int) : com.itextpdf.layout.element.Cell
Description
Creates a new table cell with rowspan or colspan.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
rowspan | int | Number of rowspan. |
colspan | int | Number of colspan. |
Return
( com.itextpdf.layout.element.Cell )
Returns the created cell.
color
_pdf.color(color: string) : com.itextpdf.kernel.colors.Color
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
color | string |
Return
( com.itextpdf.kernel.colors.Color )
colorCMYK
_pdf.colorCMYK(cyan: double, magenta: double, yellow: double, black: double) : com.itextpdf.kernel.colors.DeviceCmyk
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
cyan | double | |
magenta | double | |
yellow | double | |
black | double |
Return
( com.itextpdf.kernel.colors.DeviceCmyk )
_pdf.colorCMYK(cyan: float, magenta: float, yellow: float, black: float) : com.itextpdf.kernel.colors.DeviceCmyk
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
cyan | float | |
magenta | float | |
yellow | float | |
black | float |
Return
( com.itextpdf.kernel.colors.DeviceCmyk )
_pdf.colorCMYK(cyan: int, magenta: int, yellow: int, black: int) : com.itextpdf.kernel.colors.DeviceCmyk
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
cyan | int | |
magenta | int | |
yellow | int | |
black | int |
Return
( com.itextpdf.kernel.colors.DeviceCmyk )
colorGray
_pdf.colorGray(value: double) : com.itextpdf.kernel.colors.DeviceGray
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | double |
Return
( com.itextpdf.kernel.colors.DeviceGray )
_pdf.colorGray(value: float) : com.itextpdf.kernel.colors.DeviceGray
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | float |
Return
( com.itextpdf.kernel.colors.DeviceGray )
_pdf.colorGray(value: int) : com.itextpdf.kernel.colors.DeviceGray
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | int |
Return
( com.itextpdf.kernel.colors.DeviceGray )
colorRGB
_pdf.colorRGB(red: double, green: double, blue: double) : com.itextpdf.kernel.colors.DeviceRgb
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
red | double | |
green | double | |
blue | double |
Return
( com.itextpdf.kernel.colors.DeviceRgb )
_pdf.colorRGB(red: float, green: float, blue: float) : com.itextpdf.kernel.colors.DeviceRgb
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
red | float | |
green | float | |
blue | float |
Return
( com.itextpdf.kernel.colors.DeviceRgb )
_pdf.colorRGB(red: int, green: int, blue: int) : com.itextpdf.kernel.colors.DeviceRgb
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
red | int | |
green | int | |
blue | int |
Return
( com.itextpdf.kernel.colors.DeviceRgb )
extract
_pdf.extract(content: InputStream) : Values
Description
Extracts the content of PDF's.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | InputStream | Content to be extracted. |
Return
( Values )
Returns the extracted content.
_pdf.extract(storage: Storage | File | org.netuno.psamata.io.IO) : Values
Description
Extracts the content of PDFs.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | _Storage | File | org.netuno.psamata.io.IO_ |
Return
( Values )
Returns the extracted content.
_pdf.extract(content: InputStream) : Values
Description
Extracts the content of PDF's.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | InputStream | Content to be extracted. |
Return
( Values )
Returns the extracted content.
font
_pdf.font(storage: string) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | string | Storage path. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: File) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | File | Storage path. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: File, encoding: boolean) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | File | Storage path. |
encoding | boolean | Font encoding. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: File, encoding: string) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | File | Storage path. |
encoding | string | Font encoding. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: File, encoding: string, embedded: boolean) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | File | Storage path. |
encoding | string | Font encoding. |
embedded | boolean |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: Storage) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Storage path. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: Storage, encoding: boolean) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Storage path. |
encoding | boolean | Font encoding. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: Storage, encoding: string) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Storage path. |
encoding | string | Font encoding. |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
_pdf.font(storage: Storage, encoding: string, embedded: boolean) : com.itextpdf.kernel.font.PdfFont
Description
Creates a font.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Storage path. |
encoding | string | Font encoding. |
embedded | boolean |
Return
( com.itextpdf.kernel.font.PdfFont )
Returns the created font.
getDocument
_pdf.getDocument() : com.itextpdf.layout.Document
Description
Obtém o objecto Document do iText para a estrutura do documento PDF.
Return
( com.itextpdf.layout.Document )
Gere a estrutura do documento.
getPdfDocument
_pdf.getPdfDocument() : com.itextpdf.kernel.pdf.PdfDocument
Description
Gets the PdfDocument object of the iText to build the PDf document.
Return
( com.itextpdf.kernel.pdf.PdfDocument )
Manage the PDF document build.
getPdfReader
_pdf.getPdfReader() : com.itextpdf.kernel.pdf.PdfReader
Description
Gets the PdfReader object of the iText to read the PDF document.
Return
( com.itextpdf.kernel.pdf.PdfReader )
Manage the PDF document read.
getPdfWriter
_pdf.getPdfWriter() : com.itextpdf.kernel.pdf.PdfWriter
Description
Gets the PdfWriter object of the iText to bytes write in the PDF file.
Return
( com.itextpdf.kernel.pdf.PdfWriter )
Manage the bytes write in the PDF file.
horizontalAlignment
_pdf.horizontalAlignment(type: string) : com.itextpdf.layout.properties.HorizontalAlignment
Description
Creates the horizontal alignment type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
type | string | Alignment type name, supports:
|
Return
( com.itextpdf.layout.properties.HorizontalAlignment )
Returns the horizontal alignment type.
image
_pdf.image(file: File) : com.itextpdf.layout.element.Image
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
file | File |
Return
( com.itextpdf.layout.element.Image )
_pdf.image(storage: Storage) : com.itextpdf.layout.element.Image
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage |
Return
( com.itextpdf.layout.element.Image )
init
_pdf.init() : PDF
Description
Creates a new resource object to build PDFs.
How To Use
const pdf = _pdf.init();
Return
( PDF )
New instance of the PDF resource.
line
_pdf.line(type: string, color: com.itextpdf.kernel.colors.Color, width: double) : com.itextpdf.kernel.pdf.canvas.draw.ILineDrawer
Description
Creates a customized border with type,color, width and opacity inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
type | string | Line type. |
color | com.itextpdf.kernel.colors.Color | Line color. |
width | double | Line width. |
Return
( com.itextpdf.kernel.pdf.canvas.draw.ILineDrawer )
Returns the created customized border.
_pdf.line(type: string, color: com.itextpdf.kernel.colors.Color, width: float) : com.itextpdf.kernel.pdf.canvas.draw.ILineDrawer
Description
Creates a customized line with type,color, width inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
type | string | Line type. |
color | com.itextpdf.kernel.colors.Color | Line color. |
width | float | Line width. |
Return
( com.itextpdf.kernel.pdf.canvas.draw.ILineDrawer )
Returns the created customized line.
_pdf.line(line: string, color: com.itextpdf.kernel.colors.Color, width: int) : com.itextpdf.kernel.pdf.canvas.draw.ILineDrawer
Description
Creates a line type with color and width inserted.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
line | string | Line type. |
color | com.itextpdf.kernel.colors.Color | Line color. |
width | int | Line width. |
Return
( com.itextpdf.kernel.pdf.canvas.draw.ILineDrawer )
Returns the line type, color and width inserted.
newDocument
_pdf.newDocument() : com.itextpdf.layout.Document
Description
Cria um novo documento.
Return
( com.itextpdf.layout.Document )
_pdf.newDocument(pageSize: com.itextpdf.kernel.geom.PageSize) : com.itextpdf.layout.Document
Description
Creates a PDF document with specific page size.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
pageSize | com.itextpdf.kernel.geom.PageSize | Page size. |
Return
( com.itextpdf.layout.Document )
Returns PDF document with the page size defined.
_pdf.newDocument(out: OutputStream) : com.itextpdf.layout.Document
Description
Creates a new PDF document with A4 page size.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | OutputStream |
Return
( com.itextpdf.layout.Document )
Returns PDF document with the page size A4.
_pdf.newDocument(out: OutputStream, pageSize: com.itextpdf.kernel.geom.PageSize) : com.itextpdf.layout.Document
Description
Creates a PDF document with specific page size.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | OutputStream | File path. |
pageSize | com.itextpdf.kernel.geom.PageSize | Page size. |
Return
( com.itextpdf.layout.Document )
Returns PDF document with the page size defined.
_pdf.newDocument(out: Storage | File | org.netuno.psamata.io.IO, pageSize: com.itextpdf.kernel.geom.PageSize) : com.itextpdf.layout.Document
Description
Creates a PDF document with specific page size.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | _Storage | File | org.netuno.psamata.io.IO_ |
pageSize | com.itextpdf.kernel.geom.PageSize | Page size. |
Return
( com.itextpdf.layout.Document )
Returns PDF document with the page size defined.
openDocument
_pdf.openDocument(path: InputStream) : com.itextpdf.layout.Document
Description
Opens a PDF documment corresponding to the inserted path.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
path | InputStream | File path. |
Return
( com.itextpdf.layout.Document )
Returns PDF document openned.
_pdf.openDocument(in: InputStream, out: OutputStream) : com.itextpdf.layout.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
out | OutputStream |
Return
( com.itextpdf.layout.Document )
_pdf.openDocument(in: InputStream, out: Storage | File | org.netuno.psamata.io.IO) : com.itextpdf.layout.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
out | _Storage | File | org.netuno.psamata.io.IO_ |
Return
( com.itextpdf.layout.Document )
_pdf.openDocument(path: Storage | File | org.netuno.psamata.io.IO) : com.itextpdf.layout.Document
Description
Opens a PDF documment corresponding to the inserted path.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
path | _Storage | File | org.netuno.psamata.io.IO_ |
Return
( com.itextpdf.layout.Document )
Returns PDF document openned.
_pdf.openDocument(in: Storage | File | org.netuno.psamata.io.IO, out: OutputStream) : com.itextpdf.layout.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | _Storage | File | org.netuno.psamata.io.IO_ |
out | OutputStream |
Return
( com.itextpdf.layout.Document )
_pdf.openDocument(in: Storage | File | org.netuno.psamata.io.IO, out: Storage | File | org.netuno.psamata.io.IO) : com.itextpdf.layout.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | _Storage | File | org.netuno.psamata.io.IO_ |
out | _Storage | File | org.netuno.psamata.io.IO_ |
Return
( com.itextpdf.layout.Document )
pageSize
_pdf.pageSize(width: float, height: float) : com.itextpdf.kernel.geom.PageSize
Description
Gets the page size definition from the width and height.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
width | float | Width of the page. |
height | float | Height of the page. |
Return
( com.itextpdf.kernel.geom.PageSize )
Page Definition.
_pdf.pageSize(page: string) : com.itextpdf.kernel.geom.PageSize
Description
Gets page size definition, pages codes supported:
- A0
- A1
- A2
- A3
- A4
- A5
- A6
- A7
- A8
- A9
- A10
- B0
- B1
- B2
- B3
- B4
- B5
- B6
- B7
- B8
- B9
- B10
- default
- executive
- ledger
- legal
- letter
- tabloid
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
page | string | Page type code. |
Return
( com.itextpdf.kernel.geom.PageSize )
Page definition.
paragraph
_pdf.paragraph() : com.itextpdf.layout.element.Paragraph
Description
Creates a paragraph.
Return
( com.itextpdf.layout.element.Paragraph )
The new paragraph object with the text object added as content.
_pdf.paragraph(text: com.itextpdf.layout.element.Text) : com.itextpdf.layout.element.Paragraph
Description
Creates a paragraph.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
text | com.itextpdf.layout.element.Text | Text object that will be used as content in the paragraph. |
Return
( com.itextpdf.layout.element.Paragraph )
The new paragraph object with the text object added as content.
_pdf.paragraph(text: string) : com.itextpdf.layout.element.Paragraph
Description
Creates a paragraph.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
text | string | Text that will be presented in the paragraph. |
Return
( com.itextpdf.layout.element.Paragraph )
The new paragraph object with the text.
paragraphArea
_pdf.paragraphArea(paragraph: com.itextpdf.layout.element.Paragraph) : com.itextpdf.kernel.geom.Rectangle
Description
Calculates the area of a paragraph, allows you to obtain the height and width that the paragraph text will occupy in the PDF.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
paragraph | com.itextpdf.layout.element.Paragraph | The paragraph object whose area will be calculated. |
Return
( com.itextpdf.kernel.geom.Rectangle )
The new paragraph object with the text.
setDocument
_pdf.setDocument(document: com.itextpdf.layout.Document) : PDF
Description
Sets the PDF document object of the iText.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
document | com.itextpdf.layout.Document | Document object of the iText. |
Return
( PDF )
The current instance of the PDF resource.
string
_pdf.string(text: byte[]) : com.itextpdf.kernel.pdf.PdfString
Description
String is a sequence of characters, that is, it is a text, this method obtains a native string object for PDF from an array of bytes.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
text | byte[] | The text bytes that will be used in the new native PDF string. |
Return
( com.itextpdf.kernel.pdf.PdfString )
The new native string for PDF.
_pdf.string(text: string) : com.itextpdf.kernel.pdf.PdfString
Description
String is a sequence of characters, that is, it is a text, this method obtains a native string object for PDF.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
text | string | The string that will be used in the new PDF native string. |
Return
( com.itextpdf.kernel.pdf.PdfString )
The new native string for PDF.
_pdf.string(text: string, encoding: string) : com.itextpdf.kernel.pdf.PdfString
Description
String is a sequence of characters, that is, it is a text, this method obtains a native string object for PDF.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
text | string | The string that will be used in the new PDF native string. |
encoding | string | Name of the encoding type for the text. |
Return
( com.itextpdf.kernel.pdf.PdfString )
The new native string for PDF.
style
_pdf.style() : com.itextpdf.layout.Style
Description
Creates a new style that is useful for reusing styling.
Return
( com.itextpdf.layout.Style )
Returns a new style to PDF.
table
_pdf.table(columns: double[]) : com.itextpdf.layout.element.Table
Description
Creates a new table.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columns | double[] | Columns number. |
Return
( com.itextpdf.layout.element.Table )
Returns the created table.
_pdf.table(columnWidth: double[], largeTable: boolean) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | double[] | List of widths of each table column. |
largeTable | boolean | Define as large table. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
_pdf.table(columns: float[]) : com.itextpdf.layout.element.Table
Description
Creates a new table.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columns | float[] | Columns number. |
Return
( com.itextpdf.layout.element.Table )
Returns the created table.
_pdf.table(columnWidth: float[], largeTable: boolean) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | float[] | List of widths of each table column. |
largeTable | boolean | Define as large table. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
_pdf.table(columns: int[]) : com.itextpdf.layout.element.Table
Description
Creates a new table.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columns | int[] | Columns number. |
Return
( com.itextpdf.layout.element.Table )
Returns the created table.
_pdf.table(columnWidth: int[], largeTable: boolean) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | int[] | List of widths of each table column. |
largeTable | boolean | Define as large table. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
_pdf.table(columns: int) : com.itextpdf.layout.element.Table
Description
Creates a new table.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columns | int | Columns number. |
Return
( com.itextpdf.layout.element.Table )
Returns the created table.
_pdf.table(columnWidth: java.util.List) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | java.util.List | List of widths of each table column. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
_pdf.table(columnWidth: java.util.List, largeTable: boolean) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | java.util.List | List of widths of each table column. |
largeTable | boolean | Define as large table. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
_pdf.table(columnWidth: Values) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | Values | List of widths of each table column. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
_pdf.table(columnWidth: Values, largeTable: boolean) : com.itextpdf.layout.element.Table
Description
Creates a table with the columns width defined.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
columnWidth | Values | List of widths of each table column. |
largeTable | boolean | Define as large table. |
Return
( com.itextpdf.layout.element.Table )
Returns a table with the columns width has been defined.
text
_pdf.text(content: string) : com.itextpdf.layout.element.Text
Description
Creates new text with the inserted text.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | Content to be created. |
Return
( com.itextpdf.layout.element.Text )
Returns the text content.
textAlignment
_pdf.textAlignment(type: string) : com.itextpdf.layout.properties.TextAlignment
Description
Creates the text alignment type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
type | string | Alignment type name, supports:
|
Return
( com.itextpdf.layout.properties.TextAlignment )
Returns the alignment type for text.
toHTML
_pdf.toHTML(content: InputStream) : string
Description
Converts the inserted content to HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | InputStream | Content to HTML. |
Return
( string )
Returns the Html.
_pdf.toHTML(content: File) : string
Description
Converts the inserted content to HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | File | Content to HTML. |
Return
( string )
Returns the Html.
_pdf.toHTML(content: InputStream) : string
Description
Converts the inserted content to HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | InputStream | Content to HTML. |
Return
( string )
Returns the Html.
_pdf.toHTML(content: Storage) : string
Description
Converts the inserted content to HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | Storage | Content to HTML. |
Return
( string )
Returns the Html.
toImage
_pdf.toImage(in: InputStream, startPage: int, endPage: int, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
startPage | int | |
endPage | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(in: InputStream, startPage: int, endPage: int, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
startPage | int | |
endPage | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(in: InputStream, pageNumber: int, destinationPath: File, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
pageNumber | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(in: InputStream, pageNumber: int, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
pageNumber | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(in: InputStream, pageNumber: int, destinationPath: Storage, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
pageNumber | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(in: InputStream, pageNumber: int, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
pageNumber | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(in: InputStream, destinationPath: File, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(in: InputStream, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(in: InputStream, destinationPath: Storage, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(in: InputStream, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: File, startPage: int, endPage: int, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
startPage | int | |
endPage | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: File, startPage: int, endPage: int, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
startPage | int | |
endPage | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: File, pageNumber: int, destinationPath: File, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
pageNumber | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: File, pageNumber: int, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
pageNumber | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: File, pageNumber: int, destinationPath: Storage, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
pageNumber | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: File, pageNumber: int, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
pageNumber | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: File, destinationPath: File, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: File, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: File, destinationPath: Storage, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: File, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | File | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: Storage, startPage: int, endPage: int, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
startPage | int | |
endPage | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: Storage, startPage: int, endPage: int, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
startPage | int | |
endPage | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: Storage, pageNumber: int, destinationPath: File, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
pageNumber | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: Storage, pageNumber: int, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
pageNumber | int | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: Storage, pageNumber: int, destinationPath: Storage, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
pageNumber | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: Storage, pageNumber: int, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
pageNumber | int | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: Storage, destinationPath: File, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: Storage, destinationPath: File, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
destinationPath | File | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
_pdf.toImage(source: Storage, destinationPath: Storage, filePrefixName: string, fileExtension: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string |
Return
( void )
_pdf.toImage(source: Storage, destinationPath: Storage, filePrefixName: string, fileExtension: string, dpi: int) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
source | Storage | |
destinationPath | Storage | |
filePrefixName | string | |
fileExtension | string | |
dpi | int |
Return
( void )
toImageAsByteArray
_pdf.toImageAsByteArray(in: InputStream, startPage: int, endPage: int, fileExtension: string, dpi: int) : [[B
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
startPage | int | |
endPage | int | |
fileExtension | string | |
dpi | int |
Return
( [[B )
_pdf.toImageAsByteArray(in: InputStream, pageNumber: int, fileExtension: string) : [[B
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
pageNumber | int | |
fileExtension | string |
Return
( [[B )
_pdf.toImageAsByteArray(in: InputStream, pageNumber: int, fileExtension: string, dpi: int) : [[B
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
pageNumber | int | |
fileExtension | string | |
dpi | int |
Return
( [[B )
_pdf.toImageAsByteArray(in: InputStream, fileExtension: string) : [[B
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
fileExtension | string |
Return
( [[B )
_pdf.toImageAsByteArray(in: InputStream, fileExtension: string, dpi: int) : [[B
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream | |
fileExtension | string | |
dpi | int |
Return
( [[B )
toText
_pdf.toText(content: InputStream) : string
Description
Converts to text the inserted content.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | InputStream | Content to text. |
Return
( string )
Returns the Html.
_pdf.toText(content: File) : string
Description
Converts to text the inserted content.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | File | Content to text. |
Return
( string )
Returns the Html.
_pdf.toText(content: InputStream) : string
Description
Converts to text the inserted content.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | InputStream | Content to text. |
Return
( string )
Returns the Html.
_pdf.toText(content: Storage) : string
Description
Converts to text the inserted content.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | Storage | Content to text. |
Return
( string )
Returns the Html.
verticalAlignment
_pdf.verticalAlignment(type: string) : com.itextpdf.layout.properties.VerticalAlignment
Description
Creates the vertical alignment type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
type | string | Alignment type name, supports:
|
Return
( com.itextpdf.layout.properties.VerticalAlignment )
Returns the vertical alignment type.