Skip to content

Commit 728326f

Browse files
committed
small fix in the Create and edit new WordProcessing document
1 parent 1f0e1ad commit 728326f

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

net/developer-guide/create-document.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: create-document
33
url: editor/net/create-document
4-
title: Create and Edit a New WordProcessing Document
4+
title: Create and edit new WordProcessing document
55
weight: 8
66
description: "This article demonstrates how to create and edit WordProcessing documents using GroupDocs.Editor for .NET. It also covers supported formats like spreadsheets and presentations."
77
keywords: Create new document, edit document, WordProcessing, GroupDocs.Editor, DOCX
@@ -10,7 +10,7 @@ hideChildren: False
1010
structuredData:
1111
showOrganization: True
1212
application:
13-
name: Creating and Editing Documents by Format
13+
name: Create and edit new WordProcessing document
1414
description: Create and edit new documents using GroupDocs.Editor for .NET in C#
1515
productCode: editor
1616
productPlatform: net
@@ -28,8 +28,8 @@ structuredData:
2828

2929
This guide shows how to create a new blank document in a specific format using the `Editor` class from GroupDocs.Editor for .NET.
3030

31-
You can create documents in **DOCX**, **XLSX**, **PPTX**, **EPUB**, and **EML** formats.
32-
🔗 See the list of [supported document formats](https://docs.groupdocs.com/editor/net/supported-document-formats/).
31+
It is possible to create a new blank document in all major document formats, including text (DOCX), workbooks (XLSX), presentations (PPTX), e-books (EPUB) and emails (EML). See the full list of [supported document formats](https://docs.groupdocs.com/editor/net/supported-document-formats/), take a note on a "Create" column, which indicates whether it is possible to create a new document of a particular format.
32+
3333

3434
---
3535

@@ -60,10 +60,8 @@ using GroupDocs.Editor;
6060
using GroupDocs.Editor.Formats;
6161
using GroupDocs.Editor.Options;
6262

63-
Stream memoryStream = new MemoryStream();
6463

65-
using (Editor editor = new Editor(WordProcessingFormats.Docx))
66-
{
64+
using (Editor editor = new Editor(WordProcessingFormats.Docx))
6765
WordProcessingEditOptions editOptions = new WordProcessingEditOptions
6866
{
6967
EnablePagination = false,
@@ -90,11 +88,9 @@ using (Editor editor = new Editor(WordProcessingFormats.Docx))
9088
```csharp
9189
WordProcessingSaveOptions saveOptions = new WordProcessingSaveOptions(WordProcessingFormats.Docx);
9290
saveOptions.EnablePagination = true;
91+
using Stream memoryStream = new MemoryStream();
9392
editor.Save(updatedDoc, memoryStream, saveOptions);
94-
}
9593

96-
memoryStream.Dispose();
97-
Console.WriteLine("EditNewDocument routine has successfully finished.");
9894
```
9995

10096
---

net/developer-guide/form-field-management/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: form-field-management
33
url: editor/net/form-field-management
4-
title: Field Management in GroupDocs.Editor for .NET
4+
title: Field Management
55
weight: 100
66
description: "This documentation section explains how to the management and manipulation of form fields within documents."
77
keywords: fields, form fields
@@ -12,7 +12,7 @@ structuredData:
1212
showOrganization: True
1313
---
1414

15-
The [`GroupDocs.Editor.Words.FieldManagement`](https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/) namespace provides classes and interfaces for the management and manipulation of form fields within Word documents. This feature allows users to interact with various types of form fields programmatically, including text fields, checkboxes, dropdowns, and more. This article covers the main features and usage of field management in GroupDocs.Editor for .NET.
15+
The [`GroupDocs.Editor.Words.FieldManagement`](https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/) namespace provides classes and interfaces for the management and manipulation of form fields within Word documents. This feature allows users to interact with various types of form fields programmatically, including text fields, checkboxes, dropdowns, and more. This article covers the main features and usage of field management in GroupDocs.Editor.
1616

1717
## Key Classes and Interfaces
1818

0 commit comments

Comments
 (0)