diff options
| author | Ri Xu <xuri.me@gmail.com> | 2017-01-22 19:20:33 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2017-01-22 19:20:33 +0800 |
| commit | 81146218c72c02af181e053187ac2b8561f61e02 (patch) | |
| tree | 9c06d4d1ea918f0e1c3a2d1e41c6bfb3eb70ef38 /picture.go | |
| parent | 03234d6a254ea9fca674bf11564e88a5bd4d054f (diff) | |
Update README, godoc and fix typo.
Diffstat (limited to 'picture.go')
| -rw-r--r-- | picture.go | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -14,22 +14,22 @@ import ( "strings" ) -// AddPicture provides the method to add picture in a sheet by given xAxis, yAxis -// and file path. For example: +// AddPicture provides the method to add picture in a sheet by given offset +// (xAxis, yAxis), scale (xScale, yScale) and file path. For example: // -// package main +// package main // -// import ( -// "fmt" -// "os" -// _ "image/gif" -// _ "image/jpeg" -// _ "image/png" +// import ( +// "fmt" +// "os" +// _ "image/gif" +// _ "image/jpeg" +// _ "image/png" // -// "github.com/Luxurioust/excelize" -// ) +// "github.com/Luxurioust/excelize" +// ) // -// func main() { +// func main() { // xlsx := excelize.CreateFile() // // Insert a picture. // err := xlsx.AddPicture("Sheet1", "A2", "/tmp/image1.jpg", 0, 0, 1, 1) |
