SimplePDF icon indicating copy to clipboard operation
SimplePDF copied to clipboard

Table alignment is not working.

Open deepak-vxceed opened this issue 6 years ago • 0 comments

Please fix with,

            **let getAlignment = { () -> ContentAlignment in
                if let al = tableDefinition?.alignments{
                    if al.count > j{
                        return al[j]
                    }
                }
                return .left
            }()**
            

            drawTextInCell(frame, text: dataArray[i][j] as NSString, alignment: **getAlignment**, font: currentFont, textColor: currentTextColor)

deepak-vxceed avatar Jul 26 '18 06:07 deepak-vxceed