TPPDF v0.3.0 Release Notes
Release Date: 2017-01-19 // over 7 years ago-
Implemented enhancements:
- โ Added command for new page creation
creteNewPage()
- โ Added image caption and how image should fit, as parameter in
addImage(image: UIImage, size: CGSize, caption: NSAttributedString, sizeFit: ImageSizeFit)
- ๐ Image is moved to new page if there is not enough rest space
- โ Added pagination, define position using
paginationContainer
- โ Added
imageQuality
to reduce pdf file size - โ Added command
addImagesInRow(images: [UIImage], captions: [NSAttributedString], sizeFit: ImageSizeFit)
for rendering two images next to each other - Images can be added to header or footer
- Line separator can be drawn in header or footer
- Text font in table can be modified in
addTable(..., textFont: UIFont)
- โ Added paragraph support in table, moves to new page if not enough space
- โ Add metadata information to PDF file
- ๐ Improved PDF generation of large files
- โ Added command
setFont(font: UIFont)
to change the font in a container - โ Added command
resetFont(container: Container)
to reset the font of a container to default
๐ Merged pull requests:
- PR #3 from kf99916/master
- โ Added command for new page creation