Skip to content

DOCINFRA-2341_merged_using_automation #3111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 39 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
44fa43e
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
a8ee3b0
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
3fdf3e2
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
184f8a4
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
c70556d
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
64b0ac0
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
4b7058d
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
39f0a30
Merge branch 'hotfix/hotfix-v26.1.35' into ej2-890682-img
gopi-jp Jun 14, 2024
5b6ab34
Merge branch 'hotfix/hotfix-v26.1.35' into ej2-890682-img
gopi-jp Jun 14, 2024
f67843d
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
6b0355f
Merge branch 'ej2-890682-img' of https://github.com/syncfusion-conten…
gopi-jp Jun 14, 2024
690cff4
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
7d55c44
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
6881e0d
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
f724555
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
b11b27f
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
1a9019e
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
2320082
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
718c12d
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
1793ab0
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
59741fc
Merge branch 'hotfix/hotfix-v26.1.35' into ej2-890682-img
gopi-jp Jun 14, 2024
ff6bd84
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
be1ab9b
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 14, 2024
5e5b7a9
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 17, 2024
d9512fc
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 17, 2024
62950ee
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 17, 2024
de20a6b
Merge branch 'hotfix/hotfix-v26.1.35' into ej2-890682-img
gopi-jp Jun 17, 2024
e2b2026
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 18, 2024
3b6856d
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 18, 2024
15d16fb
890682: UG Documentation for Query builder, image editor new features…
gopi-jp Jun 18, 2024
9495506
Merge branch 'hotfix/hotfix-v26.1.35' into ej2-890682-img
gopi-jp Jun 18, 2024
1e2ecee
882373: Add elements
KPriya11 Jun 19, 2024
c11edf7
882373: Add Elements
KPriya11 Jun 19, 2024
40ca1a7
882373: Add Elements
KPriya11 Jun 19, 2024
4e4a87f
Merge pull request #3103 from syncfusion-content/EJ2-882373-AddElementHF
sarathkumarvenkatesan Jun 19, 2024
d1677ee
890804: Disabled Items Documentation
sureshsf3950 Jun 19, 2024
b3e5819
Merge branch 'hotfix/hotfix-v26.1.35' into ej2-890682-img
gopi-jp Jun 19, 2024
c19abff
Merge pull request #3105 from syncfusion-content/890804-hotfix2
PrinceOliver Jun 19, 2024
4af6b6c
Merge pull request #3081 from syncfusion-content/ej2-890682-img
Satheeskumar-1989 Jun 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ej2-asp-core-mvc/auto-complete/disabled-items.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ The disableItem method can be used to handle dynamic changing in disable state o

If you want to disabled the overall component to set the [enabled](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DropDowns.AutoComplete.html#Syncfusion_EJ2_DropDowns_AutoComplete_Enabled) property to false.

{% [Disabled AutoComplete Component](./images/autocomplete-disable.png)" %}
![Disabled AutoComplete Component](./images/autocomplete-disable.png)
4 changes: 4 additions & 0 deletions ej2-asp-core-mvc/code-snippet/image-editor/z-order/default.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
public ActionResult Default()
{
return View();
}
36 changes: 36 additions & 0 deletions ej2-asp-core-mvc/code-snippet/image-editor/z-order/razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<div class="col-lg-12 control-section e-img-editor-sample">
@Html.EJS().ImageEditor("image-editor").Created("created").Render()
</div>

<script>
function created() {
var imageEditorObj = ej.base.getComponent(document.getElementById('image-editor'), 'image-editor');
if (ej.base.Browser.isDevice) {
imageEditorObj.open('https://ej2.syncfusion.com/demos/src/image-editor/images/flower.png');
} else {
imageEditorObj.open('https://ej2.syncfusion.com/demos/src/image-editor/images/bridge.png');
}
}
</script>

<style>
.image-editor {
margin: 0 auto;
}

.e-img-editor-sample {
height: 80vh;
width: 100%;
}

@@media only screen and (max-width: 700px) {
.e-img-editor-sample {
height: 75vh;
width: 100%;
}
}

.control-wrapper {
height: 100%;
}
</style>
36 changes: 36 additions & 0 deletions ej2-asp-core-mvc/code-snippet/image-editor/z-order/tagHelper
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<div class="col-lg-12 control-section e-img-editor-sample">
<ejs-imageeditor id="image-editor" created="created"></ejs-imageeditor>
</div>

<script>
function created() {
var imageEditorObj = ej.base.getComponent(document.getElementById('image-editor'), 'image-editor');
if (ej.base.Browser.isDevice) {
imageEditorObj.open('https://ej2.syncfusion.com/demos/src/image-editor/images/flower.png');
} else {
imageEditorObj.open('https://ej2.syncfusion.com/demos/src/image-editor/images/bridge.png');
}
}
</script>

<style>
.image-editor {
margin: 0 auto;
}

.e-img-editor-sample {
height: 80vh;
width: 100%;
}

@@media only screen and (max-width: 700px) {
.e-img-editor-sample {
height: 75vh;
width: 100%;
}
}

.control-wrapper {
height: 100%;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
public ActionResult Index()
{
QueryBuilderRule rule = new QueryBuilderRule()
{
Condition = "and",
Rules = new List<QueryBuilderRule>()
{
new QueryBuilderRule { Label="Employee ID", Field="EmployeeID", Type="number", Operator="equal", Value = 1 },
new QueryBuilderRule { Label="Title", Field="Title", Type="string", Operator="equal", Value = "Sales Manager" }
}
};

ViewBag.rule = rule;
ViewBag.dataSource = EmployeeView.GetAllRecords();
return View();
}

public class EmployeeView
{
public EmployeeView()
{

}
public EmployeeView(int EmployeeID, string FirstName, string LastName, string Title, DateTime BirthDate, DateTime HireDate, int ReportsTo, string Address, string PostalCode, string Phone, string City, string Country)
{
this.EmployeeID = EmployeeID;
this.FirstName = FirstName;
this.LastName = LastName;
this.Title = Title;
this.BirthDate = BirthDate;
this.HireDate = HireDate;
this.ReportsTo = ReportsTo;
this.Address = Address;
this.PostalCode = PostalCode;
this.Phone = Phone;
this.City = City;
this.Country = Country;

}
public int EmployeeID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Title { get; set; }
public DateTime BirthDate { get; set; }
public DateTime HireDate { get; set; }

public int ReportsTo { get; set; }

public string Address { get; set; }
public string PostalCode { get; set; }
public string Phone { get; set; }
public string City { get; set; }
public string Country { get; set; }
public static List<EmployeeView> GetAllRecords()
{
List<EmployeeView> Emp = new List<EmployeeView>();
Emp.Add(new EmployeeView(1, "Nancy", "Davolio", "Sales Representative", new DateTime(1948, 12, 08), new DateTime(1992, 05, 01), 2, "507 - 20th Ave. E.Apt. 2A ", " 98122", "(206) 555-9857 ", "Seattle ", "USA"));
Emp.Add(new EmployeeView(2, "Andrew", "Fuller", "Vice President, Sales", new DateTime(1952, 02, 19), new DateTime(1992, 08, 14), 4, "908 W. Capital Way", "98401 ", "(206) 555-9482 ", "Kirkland ", "USA"));
Emp.Add(new EmployeeView(3, "Janet", "Leverling", "Sales Representative", new DateTime(1963, 08, 30), new DateTime(1992, 04, 01), 3, " 4110 Old Redmond Rd.", "98052 ", "(206) 555-8122", "Redmond ", "USA "));
Emp.Add(new EmployeeView(4, "Margaret", "Peacock", "Sales Representative", new DateTime(1937, 09, 19), new DateTime(1993, 05, 03), 6, "14 Garrett Hill ", "SW1 8JR ", "(71) 555-4848 ", "London ", "UK "));
Emp.Add(new EmployeeView(5, "Steven", "Buchanan", "Sales Manager", new DateTime(1955, 03, 04), new DateTime(1993, 10, 17), 8, "Coventry HouseMiner Rd. ", "EC2 7JR ", " (206) 555-8122", "Tacoma ", " USA"));
Emp.Add(new EmployeeView(6, "Michael", "Suyama", "Sales Representative", new DateTime(1963, 07, 02), new DateTime(1993, 10, 17), 2, " 7 Houndstooth Rd.", " WG2 7LT", "(71) 555-4444 ", "London ", "UK "));
Emp.Add(new EmployeeView(7, "Robert", "King", "Sales Representative", new DateTime(1960, 05, 29), new DateTime(1994, 01, 02), 7, "Edgeham HollowWinchester Way ", "RG1 9SP ", "(71) 555-5598 ", "London ", " UK"));
Emp.Add(new EmployeeView(8, "Laura", "Callahan", "Inside Sales Coordinator", new DateTime(1958, 01, 09), new DateTime(1994, 03, 05), 9, "722 Moss Bay Blvd. ", "98033 ", " (206) 555-3412", "Seattle ", "USA "));
Emp.Add(new EmployeeView(9, "Anne", "Dodsworth", "Sales Representative", new DateTime(1966, 01, 27), new DateTime(1994, 11, 15), 5, "4726 - 11th Ave. N.E. ", "98105 ", "(71) 555-5598 ", " London", "UK "));
return Emp;
}
}
13 changes: 13 additions & 0 deletions ej2-asp-core-mvc/code-snippet/query-builder/drag-and-drop/razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@Html.EJS().QueryBuilder("querybuilder").Width("72%").Columns(col =>
{
col.Field("EmployeeID").Label("Employee ID").Type("number").Add();
col.Field("FirstName").Label("First Name").Type("string").Add();
col.Field("TitleOfCourtesy").Label("Title Of Courtesy").Type("boolean").Values(new List<string> { "Mr.", "Mrs." }).Add();
col.Field("Title").Label("Title").Type("string").Add();
col.Field("HireDate").Label("Hire Date").Type("date").Format("dd/MM/yyyy").Add();
col.Field("Country").Label("Country").Type("string").Add();
col.Field("City").Label("City").Type("string").Add();
}).Rule(ViewBag.rule).AllowDragAndDrop(true).Render()

<script>
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<ejs-querybuilder id="querybuilder" width="73%" rule="ViewBag.rule" allowDragAndDrop="true">
<e-querybuilder-columns>
<e-querybuilder-column field="EmployeeID" label="Employee ID" type="number"></e-querybuilder-column>
<e-querybuilder-column field="FirstName" label="First Name" type="string"></e-querybuilder-column>
<e-querybuilder-column field="TitleOfCourtesy" label="Title Of Courtesy" type="boolean" values="ViewBag.values"></e-querybuilder-column>
<e-querybuilder-column field="Title" label="Title" type="string"></e-querybuilder-column>
<e-querybuilder-column field="HireDate" label="Hire Date" type="date" format="dd/MM/yyyy"></e-querybuilder-column>
<e-querybuilder-column field="Country" label="Country" type="string"></e-querybuilder-column>
<e-querybuilder-column field="City" label="City" type="string"></e-querybuilder-column>
</e-querybuilder-columns>
</ejs-querybuilder>

<script>
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
public ActionResult Index()
{
QueryBuilderRule rule = new QueryBuilderRule()
{
Condition = "",
Rules = new List<QueryBuilderRule>()
{
new QueryBuilderRule { Label="First Name", Field="FirstName", Type="string", Operator="startswith", Value="Andre", Condition = "and" },
new QueryBuilderRule { Label="Last Name", Field="LastName", Type="string", Operator="in", Value = new List<string> { "Davolio", "Buchanan" }, Condition = "or" },
new QueryBuilderRule { Label="Employee ID", Field="EmployeeID", Type="number", Operator="greaterthan", Value=30, Condition = "and" },
new QueryBuilderRule { Condition="or", Rules = new List<QueryBuilderRule>()
{
new QueryBuilderRule { Label="Title", Field="Title", Type="string", Operator="startswith", Value="Sales Manager", Condition = "and" },
new QueryBuilderRule { Label="Country", Field="Country", Type="string", Operator="equal", Value="USA" }
}},
new QueryBuilderRule { Label="Hire Date", Field="HireDate", Type="date", Operator="between", Value=new List<string> { "11/28/2023", "11/30/2023" } }

}
};

ViewBag.rule = rule;
ViewBag.dataSource = EmployeeView.GetAllRecords();
return View();
}

public class EmployeeView
{
public EmployeeView()
{

}
public EmployeeView(int EmployeeID, string FirstName, string LastName, string Title, DateTime BirthDate, DateTime HireDate, int ReportsTo, string Address, string PostalCode, string Phone, string City, string Country)
{
this.EmployeeID = EmployeeID;
this.FirstName = FirstName;
this.LastName = LastName;
this.Title = Title;
this.BirthDate = BirthDate;
this.HireDate = HireDate;
this.ReportsTo = ReportsTo;
this.Address = Address;
this.PostalCode = PostalCode;
this.Phone = Phone;
this.City = City;
this.Country = Country;

}
public int EmployeeID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Title { get; set; }
public DateTime BirthDate { get; set; }
public DateTime HireDate { get; set; }

public int ReportsTo { get; set; }

public string Address { get; set; }
public string PostalCode { get; set; }
public string Phone { get; set; }
public string City { get; set; }
public string Country { get; set; }
public static List<EmployeeView> GetAllRecords()
{
List<EmployeeView> Emp = new List<EmployeeView>();
Emp.Add(new EmployeeView(1, "Nancy", "Davolio", "Sales Representative", new DateTime(1948, 12, 08), new DateTime(1992, 05, 01), 2, "507 - 20th Ave. E.Apt. 2A ", " 98122", "(206) 555-9857 ", "Seattle ", "USA"));
Emp.Add(new EmployeeView(2, "Andrew", "Fuller", "Vice President, Sales", new DateTime(1952, 02, 19), new DateTime(1992, 08, 14), 4, "908 W. Capital Way", "98401 ", "(206) 555-9482 ", "Kirkland ", "USA"));
Emp.Add(new EmployeeView(3, "Janet", "Leverling", "Sales Representative", new DateTime(1963, 08, 30), new DateTime(1992, 04, 01), 3, " 4110 Old Redmond Rd.", "98052 ", "(206) 555-8122", "Redmond ", "USA "));
Emp.Add(new EmployeeView(4, "Margaret", "Peacock", "Sales Representative", new DateTime(1937, 09, 19), new DateTime(1993, 05, 03), 6, "14 Garrett Hill ", "SW1 8JR ", "(71) 555-4848 ", "London ", "UK "));
Emp.Add(new EmployeeView(5, "Steven", "Buchanan", "Sales Manager", new DateTime(1955, 03, 04), new DateTime(1993, 10, 17), 8, "Coventry HouseMiner Rd. ", "EC2 7JR ", " (206) 555-8122", "Tacoma ", " USA"));
Emp.Add(new EmployeeView(6, "Michael", "Suyama", "Sales Representative", new DateTime(1963, 07, 02), new DateTime(1993, 10, 17), 2, " 7 Houndstooth Rd.", " WG2 7LT", "(71) 555-4444 ", "London ", "UK "));
Emp.Add(new EmployeeView(7, "Robert", "King", "Sales Representative", new DateTime(1960, 05, 29), new DateTime(1994, 01, 02), 7, "Edgeham HollowWinchester Way ", "RG1 9SP ", "(71) 555-5598 ", "London ", " UK"));
Emp.Add(new EmployeeView(8, "Laura", "Callahan", "Inside Sales Coordinator", new DateTime(1958, 01, 09), new DateTime(1994, 03, 05), 9, "722 Moss Bay Blvd. ", "98033 ", " (206) 555-3412", "Seattle ", "USA "));
Emp.Add(new EmployeeView(9, "Anne", "Dodsworth", "Sales Representative", new DateTime(1966, 01, 27), new DateTime(1994, 11, 15), 5, "4726 - 11th Ave. N.E. ", "98105 ", "(71) 555-5598 ", " London", "UK "));
return Emp;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@Html.EJS().QueryBuilder("querybuilder").Width("72%").Columns(col =>
{
col.Field("EmployeeID").Label("Employee ID").Type("number").Add();
col.Field("FirstName").Label("First Name").Type("string").Add();
col.Field("TitleOfCourtesy").Label("Title Of Courtesy").Type("boolean").Values(new List<string> { "Mr.", "Mrs." }).Add();
col.Field("Title").Label("Title").Type("string").Add();
col.Field("HireDate").Label("Hire Date").Type("date").Format("dd/MM/yyyy").Add();
col.Field("Country").Label("Country").Type("string").Add();
col.Field("City").Label("City").Type("string").Add();
}).Rule(ViewBag.rule).EnableSeparateConnector(true).Render()


<script>
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<ejs-querybuilder id="querybuilder" width="73%" rule="ViewBag.rule" enableSeparateConnector="true">
<e-querybuilder-columns>
<e-querybuilder-column field="EmployeeID" label="Employee ID" type="number"></e-querybuilder-column>
<e-querybuilder-column field="FirstName" label="First Name" type="string"></e-querybuilder-column>
<e-querybuilder-column field="TitleOfCourtesy" label="Title Of Courtesy" type="boolean" values="ViewBag.values"></e-querybuilder-column>
<e-querybuilder-column field="Title" label="Title" type="string"></e-querybuilder-column>
<e-querybuilder-column field="HireDate" label="Hire Date" type="date" format="dd/MM/yyyy"></e-querybuilder-column>
<e-querybuilder-column field="Country" label="Country" type="string"></e-querybuilder-column>
<e-querybuilder-column field="City" label="City" type="string"></e-querybuilder-column>
</e-querybuilder-columns>
</ejs-querybuilder>

<script>
</script>
2 changes: 1 addition & 1 deletion ej2-asp-core-mvc/combo-box/disabled-items.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ The disableItem method can be used to handle dynamic changing in disable state o

If you want to disabled the overall component to set the [enabled](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DropDowns.ComboBox.html#Syncfusion_EJ2_DropDowns_ComboBox_Enabled) property to false.

{% [Disabled ComboBox Component](./images/combobox-disable.png)" %}
![Disabled ComboBox Component](./images/combobox-disable.png)
4 changes: 3 additions & 1 deletion ej2-asp-core-mvc/diagram/connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ diagram.remove(connectors)

## Add collection of connectors at runtime

* The collection of connectors can be dynamically added using 'addElements' method.Each time an element is added to the diagram canvas, the 'collectionChange' event will be triggered.
* The collection of connectors can be dynamically added using `addElements` method.Each time an element is added to the diagram canvas, the `collectionChange` event will be triggered.

{% if page.publishingplatform == "aspnet-core" %}

{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
Expand Down
2 changes: 1 addition & 1 deletion ej2-asp-core-mvc/diagram/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ diagram.add(group);

## Add collection of group nodes at runtime

* The collection of group nodes can be dynamically added using 'addElements' method.Each time an element is added to the diagram canvas, the 'collectionChange' event will be triggered.
* The collection of group nodes can be dynamically added using `addElements` method.Each time an element is added to the diagram canvas, the `collectionChange` event will be triggered.

{% if page.publishingplatform == "aspnet-core" %}

Expand Down
2 changes: 1 addition & 1 deletion ej2-asp-core-mvc/diagram/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ diagram.add(node);

## Add collection of nodes at runtime

* The collection of nodes can be dynamically added using 'addElements' method.Each time an element is added to the diagram canvas, the 'collectionChange' event will be triggered.
* The collection of nodes can be dynamically added using `addElements` method.Each time an element is added to the diagram canvas, the `collectionChange` event will be triggered.

{% if page.publishingplatform == "aspnet-core" %}

Expand Down
2 changes: 1 addition & 1 deletion ej2-asp-core-mvc/drop-down-list/disabled-items.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ The disableItem method can be used to handle dynamic changing in disable state o

If you want to disabled the overall component to set the [enabled](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.DropDowns.DropDownList.html#Syncfusion_EJ2_DropDowns_DropDownList_Enabled) property to false.

{% [Disabled DropDownList Component](./images/dropdownlist-disable.png)" %}
![Disabled DropDownList Component](./images/dropdownlist-disable.png)
8 changes: 4 additions & 4 deletions ej2-asp-core-mvc/image-editor/annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation: ug

# Annotation in the ##Platform_Name## Image Editor control

The Image Editor allows adding annotations to the image, including text, freehand drawings, and shapes like rectangles, ellipses, arrows, paths, and lines. This gives the flexibility to mark up the image with notes, sketches, and other visual elements as needed. These annotation tools can help to communicate and share ideas more effectively.
The Image Editor allows adding annotations to the image, including text, freehand drawings, and shapes like rectangles, ellipses, arrows, paths, and lines. This gives the flexibility to mark up the image with notes, sketches, and other visual elements as needed. These annotation tools can help to communicate and share ideas more effectively. Users are allowed to draw multiple annotations simultaneously, enhancing creative flexibility. Furthermore, every action, including customizations, will be tracked in the undo/redo collection, ensuring a seamless user experience and making it easier to experiment with different designs.

## Text annotation

Expand Down Expand Up @@ -174,7 +174,7 @@ Here is an example of changing the text’s color and its font family using the

Output be like the below.

![ImageEditor Sample](images/image-editor-customize-font-color.jpg)
![ImageEditor Sample](images/image-editor-custom-font-color.png)

### Add Additional font family

Expand Down Expand Up @@ -209,7 +209,7 @@ Here is an example of adding additional font family to the text annotation using

Output be like the below.

![ImageEditor Sample](images/image-editor-add-font-family.png)
![ImageEditor Sample](images/image-editor-add-font-family.jpg)

## Freehand drawing

Expand Down Expand Up @@ -525,4 +525,4 @@ In the following example, you can use the `drawImage` method in the button click

Output be like the below.

![ImageEditor Sample](images/image-editor-add-image.png)
![ImageEditor Sample](images/image-editor-add-image.jpg)
Loading