Open developertechnostacks opened 6 years ago
@renebigot
I am trying to write image in xlsx file using this library, as per the document suggests method to write image in xlsx file i followed the same but was unable to succeed.
Below are the code snippet that i used to write images
First method
Worksheet.add(image, inCellReferenced: "A2", withOffset: CGPoint(x:15, y:10), size: (image?.size)! , preserveTransparency: true) Second method
Worksheet.add(image, inCellReferenced: "A2", withOffset: CGPoint(x:15, y:10), size: (image?.size)! , preserveTransparency: true)
let drawing: BRAWorksheetDrawing = Worksheet.add(image, betweenCellsReferenced: "C2", and: "D2", with: UIEdgeInsets.zero, preserveTransparency: false) drawing.insets = UIEdgeInsetsMake(0.0, 0.0, 0.5, 0.5)
Using this both methods i was unable to write the images to xlsx file, any help will be great.!
@renebigot
I am trying to write image in xlsx file using this library, as per the document suggests method to write image in xlsx file i followed the same but was unable to succeed.
Below are the code snippet that i used to write images
First method
Worksheet.add(image, inCellReferenced: "A2", withOffset: CGPoint(x:15, y:10), size: (image?.size)! , preserveTransparency: true)
Second methodUsing this both methods i was unable to write the images to xlsx file, any help will be great.!