You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,7 +68,7 @@ If Aspose.Cells for Go via C++ is not installed in the development environment,
68
68
69
69
1. Set your PATH to point to the shared libraries in Aspose.Cells for Go via C++ in your current command shell. Replace your_version with the version of Aspose.Cells for Go via C++ you are running.
70
70
71
-
```bash
71
+
```cms
72
72
73
73
set PATH=%PATH%;%GOPATH%/pkg/mod/github.com/aspose-cells/aspose-cells-go-cpp/v25@v25.1.1/lib/linux_x86_64/
You may also copy the DLL files from the above path to the same place as your project executable.
86
93
87
94
1. Run your created application.
@@ -171,82 +178,29 @@ go get github.com/aspose-cells/aspose-cells-go-cpp/v25@v25.1.1
171
178
172
179
### **How to build Aspose.Cells for Go via C++ from the Source Code Package**
173
180
174
-
1. Download Aspose.Cells for Go via C++ source package
175
-
176
-
-**You can download the source code package from two locations:**
177
-
178
-
1. Download the source code package from the [Aspose.Cells for Go via C++ download page](https://downloads.aspose.com/cells/go-cpp/).
179
-
1. Download the source code package from the [GitHub repository](https://github.com/aspose-cells/aspose-cells-go-cpp) or directly via [GitHub Archive Package](https://github.com/aspose-cells/aspose-cells-go-cpp/archive/refs/heads/main.zip).
180
-
181
-
2. How install Aspose.Cells for Go via C++ package into your project
182
-
183
-
-**Create a directory for your project and a main.go file within. Add the following code to your main.go.**
184
-
185
-
```Go
186
-
187
-
package main
188
-
189
-
import (
190
-
. "asposecells"
191
-
"fmt"
192
-
)
181
+
1. Create a work directory for your project.
193
182
194
-
funcmain() {
195
-
lic, _:=NewLicense()
196
-
lic.SetLicense_String("YOUR_LICENSE_File_PATH")
197
-
workbook, _:=NewWorkbook()
198
-
worksheets, _:= workbook.GetWorksheets()
199
-
worksheet, _:= worksheets.Get_Int(0)
200
-
cells, _:= worksheet.GetCells()
201
-
cell, _:= cells.Get_String("A1")
202
-
cell.PutValue_String_Bool("Hello World!", true)
203
-
style, _:= cell.GetStyle()
204
-
style.SetPattern(BackgroundType_Solid)
205
-
color, _:=NewColor()
206
-
color.Set_Color_R(uint8(255))
207
-
color.Set_Color_G(uint8(128))
208
-
style.SetForegroundColor(color)
209
-
cell.SetStyle_Style(style)
210
-
workbook.Save_String("HELLO.pdf")
183
+
1. Get the source code about Aspose.Cells for Go via C++ source package
-**Set your PATH to point to the shared libraries in Aspose.Cells for Go via C++ in your current command shell. Replace your_version with the version of Aspose.Cells for Go via C++ you are running.**
248
202
249
-
```bash
203
+
```cmd
250
204
251
205
set PATH=%PATH%;%YourProjectPath%/cells-go-cpp-samples/cells-go-cpp/lib/win_x86_64/
0 commit comments