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
Copy file name to clipboardExpand all lines: blazor/diagram/export.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,9 @@ Diagram provides support to export the diagram as image or SVG files. The follow
47
47
}
48
48
}
49
49
```
50
-
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/Export)
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/Export)
51
53
52
54
## Exporting Options
53
55
@@ -81,6 +83,8 @@ Diagram provides support to export the desired region of the diagram to the desi
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/ExportOption)
85
89
86
90
### How to Customize Page Size
@@ -109,6 +113,8 @@ Diagram provides support to change the page size. The page size can be adjusted
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/ExportWithPageSize)
113
119
114
120
### How to Add Margin Around Exported Diagram Image
@@ -141,6 +147,8 @@ A complete working sample can be downloaded from [GitHub](https://github.com/Syn
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/ExportMargin)
145
153
146
154
### How to Export Diagrams by Region
@@ -180,6 +188,8 @@ The following code example illustrates how to export the diagram based on page s
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/ExportRegion)
184
194
185
195
### How to Export Diagram with Custom Bounds
@@ -212,6 +222,8 @@ The following code example illustrates how to export the region specified in the
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/ExportClipBounds)
216
228
217
229
### How to Export Diagram as Single or Multiple Pages
@@ -251,6 +263,8 @@ The following code example illustrates how to export the diagram to a single pag
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Export/ExportWithPage)
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Flip/FlipDirection)
222
224
223
225
@@ -331,7 +333,7 @@ The following code example shows how to flip the group.
331
333
ID = "node3",
332
334
Width = 100,
333
335
Height = 60,
334
-
OffsetX = 500,
336
+
OffsetX = 200,
335
337
OffsetY = 300,
336
338
Annotations = new DiagramObjectCollection<ShapeAnnotation>()
337
339
{
@@ -367,7 +369,7 @@ The following code example shows how to flip the group.
367
369
ID = "node4",
368
370
Width = 100,
369
371
Height = 60,
370
-
OffsetX = 700,
372
+
OffsetX = 400,
371
373
OffsetY = 400,
372
374
Style = new ShapeStyle()
373
375
{
@@ -463,6 +465,8 @@ The following code example shows how to flip the group.
For more information about node interaction, refer to [Node Interaction](./nodes/interaction).
467
471
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Flip/FlipGroup)
468
472
@@ -552,6 +556,7 @@ The following code example shows how to flip the connector.
N> [View the Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/DiagramComponent/BlazorMAUIApp/DiagramSample).
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/CustomGridline)
55
57
56
58

@@ -81,6 +83,8 @@ The following code example illustrates how to customize the appearance of gridli
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/Appearance)
85
89
86
90
@@ -110,6 +114,8 @@ The appearance of the grid lines can be changed into dots by using the [GridType
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/CustomizeGridline)
114
120
115
121
@@ -143,6 +149,8 @@ The following code example illustrates how to customize the thickness of lines a
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/LineInterval)
147
155
148
156
@@ -183,6 +191,8 @@ Snapping to gridlines can be enabled or disabled with the [SnapConstraints](http
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/SnapToLines)
187
197
188
198
@@ -230,6 +240,8 @@ By default, objects snapped towards the nearest gridline. The gridline or positi
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/CustomizeSnapInterval)
234
246
235
247
@@ -280,6 +292,8 @@ The snap to object provides visual cues to assist with aligning and spacing diag
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/SnapToObject)
284
298
285
299
@@ -327,6 +341,8 @@ The following code example illustrates how to customize the snap line style.
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Gridlines/SnapLineStyle)
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/CreateGroup)
104
106

105
107
@@ -168,7 +170,9 @@ The following code illustrates how to ungroup at runtime.
168
170
}
169
171
}
170
172
```
171
-
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/UnGroup)
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/UnGroup)
172
176
173
177
174
178
>**Note:** A NodeGroup ID should not start with numbers or special characters and should not contain special characters such as underscore(_) or space.
@@ -183,7 +187,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/CloneNodeGroup)
259
265

260
266
@@ -318,6 +324,8 @@ The following code illustrates how to add padding to a node group.
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/CreateGroup)
322
330
323
331

@@ -387,6 +395,8 @@ The following code illustrates how a node group is added at runtime.
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/AddGroupAtRunTime)
391
401
* Also, Add the child to the node group through the [AddChildAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddChildAsync_Syncfusion_Blazor_Diagram_NodeGroup_Syncfusion_Blazor_Diagram_NodeBase_) method. The following code illustrates how to add child to the existing node group through the AddChildAsync method.
392
402
@@ -474,6 +484,8 @@ A complete working sample can be downloaded from [GitHub](https://github.com/Syn
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/AddChildMethod)
478
490
479
491
## How to Update Node Group Position at Runtime
@@ -542,6 +554,8 @@ Change the position of the node group similar to a node. For more information ab
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/UpdatePositionForGroup)
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/PageAppearance)
67
69
68
70
|Orientation|Output|
@@ -112,6 +114,8 @@ Based on the diagramming element position, the size of the page dynamically incr
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/MultiplePage)
116
120
117
121

@@ -167,6 +171,8 @@ Customize page appearance using the `PageSettings` properties:
167
171
public PageOrientation orientation = PageOrientation.Landscape;
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/PageAppearance)
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/PageBreak)
204
212
205
213

@@ -222,6 +230,8 @@ The area between the maintain content of a page and the page edges can be change
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/Margin)
226
236
227
237
## How to Restrict Node Interaction Using Boundary Constraints
@@ -290,6 +300,8 @@ The following code example illustrates how to define boundary constraints with r
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/BoundaryConstraints)
294
306
295
307
## How to Make Responsive with Parent Container
@@ -323,6 +335,8 @@ The following code example illustrates how to set width and height in percentage
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/PageSettings/ResponsiveWithParentContainer)
327
341
328
342
## How to Handle Page Settings Property Changes Using Callback Methods
@@ -353,6 +367,7 @@ A complete working sample can be downloaded from [GitHub](https://github.com/Syn
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Print/PrintSample/PrintSample)
81
83
82
84
The following code example illustrates how to print a selected region in the diagram using clip bounds.
@@ -194,6 +196,8 @@ The following code example illustrates how to print a selected region in the dia
A complete working sample can be downloaded from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Print/PrintUsingClipBounds/PrintUsingClipBounds)
0 commit comments