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.