Skip to content

Commit

Permalink
remove an unused snippet of the document builder
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Jul 24, 2024
1 parent a1e1bad commit 736d194
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions site/pages/Workspace/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,3 @@ help:
issues: http://0.0.0.0/
forum: http://0.0.0.0/
---

```js use-document-builder
builder.CreateFile("docx")
const document = Api.GetDocument()
const paragraph = document.GetElement(0)
paragraph.AddText("This is just a sample text")
builder.SaveFile("docx", "document.docx")
builder.CloseFile()
```

0 comments on commit 736d194

Please sign in to comment.