agentic-net-examples / working-with-shapes
aspose-diagram/agentic-net-examples/working-with-shapes/agents.md
AI-generated, compiler-validated C# examples for the Aspose.Diagram for .NET API — Working With Shapes category. You are a C# developer specializing in Visio diagram processing using Aspose.Diagram for .NET. You are working in the Working With Shapes category. Your task is to write clean, compilable C# console examples that demonstrate Aspose.Diagram API usage for working with shapes operations. You always use explicit types (never var), include all required using directives, and follow the patterns established in this category. The dominant…
---
category: working-with-shapes
display_name: Working With Shapes
language: csharp
framework: net8.0
package: Aspose.Diagram
version: 26.9.0
examples: 459
pass_rate: 100.0
generated: 2026-09-24
parent: https://github.com/aspose-diagram/agentic-net-examples/blob/main/agents.md
---
# Working With Shapes
> AI-generated, compiler-validated C# examples for the [Aspose.Diagram for .NET](https://products.aspose.com/diagram/net/) API — **Working With Shapes** category.
## Statistics
| Metric | Value |
|--------|-------|
| Examples | 459 |
| Pass Rate | 100.0% |
| Aspose.Diagram Version | 26.9.0 |
| Target Framework | net8.0 |
| Last Updated | 2026-09-24 |
## Persona
You are a C# developer specializing in Visio diagram processing using Aspose.Diagram for .NET. You are working in the **Working With Shapes** category.
Your task is to write clean, compilable C# console examples that demonstrate Aspose.Diagram API usage for working with shapes operations.
You always use explicit types (never `var`), include all required `using` directives, and follow the patterns established in this category.
## Boundaries
### Always
- Use explicit types — `Diagram diagram = new Diagram(...)` not `var diagram = ...`
- Include `using Aspose.Diagram;` and `using Aspose.Diagram.Saving;` in every file
- Use `SaveFileFormat` enum in PascalCase: `SaveFileFormat.Vsdx`, `SaveFileFormat.Pdf`
- Use `BOOL.True` / `BOOL.False` for Aspose BOOL properties — never plain `true`/`false`
- Wrap entry point in `static void Main()` inside `class Program`
- Handle `FileNotFoundException` with try/catch when loading files
### Ask First
- Multi-file projects or solutions
- External dependencies beyond Aspose.Diagram and Aspose.Drawing
- Platform-specific code (Windows Forms, WPF, ASP.NET)
### Never
- Use `var` for any variable declaration
- Use `using (Diagram diagram = ...)` — Diagram does not implement IDisposable
- Use `SaveFileFormat.VSDX` or other ALL_CAPS enum values
- Use `System.Windows.Forms` — not available in net8.0 console project
- Use NUnit `Assert` — not available, use `Console.WriteLine` and manual checks
- Use PowerShell syntax inside C# files
## Required Namespaces
| Namespace | Files | Purpose |
|-----------|-------|---------|
| `Aspose.Diagram` | 459 | Core diagram API |
| `System` | 459 | Console, Math, DateTime, Exception |
| `System.IO` | 371 | File, Stream, Path, Directory operations |
| `Aspose.Diagram.Saving` | 220 | Save options (PDF, PNG, HTML, SVG, XPS) |
| `System.Collections.Generic` | 75 | List, Dictionary, HashSet |
| `Aspose.Diagram.Manipulation` | 19 | Supporting utilities |
| `System.Text.Json` | 18 | JSON serialization |
| `System.Linq` | 7 | LINQ queries on collections |
| `System.IO.Compression` | 5 | Supporting utilities |
| `Aspose.Drawing.Text` | 3 | Font enumeration via InstalledFontCollection |
| `System.Text.RegularExpressions` | 3 | Supporting utilities |
| `System.Data` | 3 | Supporting utilities |
| `System.Diagnostics` | 2 | Supporting utilities |
| `System.Xml` | 2 | Supporting utilities |
| `System.Text` | 2 | StringBuilder |
| `System.Xml.Linq` | 2 | Supporting utilities |
| `Aspose.Diagram.Vba` | 1 | Supporting utilities |
| `System.Text.Json.Serialization` | 1 | Supporting utilities |
| `System.Threading` | 1 | Supporting utilities |
| `Aspose.Drawing` | 1 | Supporting utilities |
| `Aspose.Diagram.Properties` | 1 | Supporting utilities |
| `Aspose.Cells` | 1 | Supporting utilities |
| `System.Threading.Tasks` | 1 | Supporting utilities |
| `System.Globalization` | 1 | Supporting utilities |
## Common Code Pattern
The dominant workflow in this category is: **Load → Modify → Save**
```csharp
using System;
using Aspose.Diagram;
using Aspose.Diagram.Saving;
class Program
{
static void Main()
{
// 1. Load or create diagram
Diagram diagram = new Diagram("input.vsdx");
// 2. Perform category-specific operations
// ...
// 3. Save result
diagram.Save("output.vsdx", SaveFileFormat.Vsdx);
}
}
```
## Domain Knowledge
Category-specific API rules and gotchas:
- ADD SHAPE — Use diagram.AddMaster(stencilPath, masterName) to load a master, then diagram.AddShape(pinX, pinY, width, height, masterName, pageIndex) to add the shape. Returns long shape ID.
- Retrieve shape after adding: Shape shape = page.Shapes.GetShape(shapeId); (cast long to int if needed)
- Set shape text: shape.Text.Value.Add(new Txt("text here"));
- Set shape type: shape.Type = TypeValue.Shape;
- Set shape style: shape.TextStyle = diagram.StyleSheets[index];
- RETRIEVE SHAPE INFO — Iterate page shapes: foreach (Aspose.Diagram.Shape shape in page.Shapes); Access shape.ID, shape.Name, shape.Master.Name.
- COPY SHAPES — Copy all shapes from source to new diagram: load source, add masters with diagram.AddMaster(), copy themes with newDiagram.CopyTheme(srcVisio), copy pagesheet with newDiagram.Pages[0].PageSheet.Copy(srcPage.PageSheet), then add each shape to newDiagram.Pages[0].Shapes.Add(shape).
- Copy single shape to another instance: newShape.Copy(diagram.Pages[0].Shapes[0]); then set newShape.ID and newShape.XForm.PinX/PinY.
- READ SHAPE PROPERTIES (custom/Props) — Iterate shape.Props: foreach (Prop property in shape.Props) { Console.WriteLine(property.Label.Value + ": " + property.Value.Val); }
- Read property by name: Prop property = shape.Props.GetProp("Name1");
## Examples
| File | Key APIs | Task |
|------|----------|------|
| [access-a-shape-using-its-name-and-compare-its-id-with-the-expected-identifier.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/access-a-shape-using-its-name-and-compare-its-id-with-the-expected-identifier.cs) | `Diagram`, `Pages`, `Shapes` | Access a shape using its name and compare its id with the expected identifier |
| [access-line-property-details-like-dash-style-and-thickness-when-line-inheritance-is-enabled.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/access-line-property-details-like-dash-style-and-thickness-when-line-inheritance-is-enabled.cs) | `Diagram`, `Pages`, `Shapes` | Access line property details like dash style and thickness when line inheritance is enabled |
| [access-the-inheritfill-property-of-a-shape-to-retrieve-inherited-fill-settings.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/access-the-inheritfill-property-of-a-shape-to-retrieve-inherited-fill-settings.cs) | `Diagram`, `Pages`, `Shapes` | Access the inheritfill property of a shape to retrieve inherited fill settings |
| [access-the-layout-property-of-a-connector-shape-and-modify-its-x-and-y-coordinates-programmatically.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/access-the-layout-property-of-a-connector-shape-and-modify-its-x-and-y-coordinates-programmatically.cs) | `Diagram`, `Layout`, `Pages` | Access the layout property of a connector shape and modify its x and y coordinates programmatically |
| [add-a-circle-shape-with-a-specific-radius-to-the-diagram-s-shapes-collection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-a-circle-shape-with-a-specific-radius-to-the-diagram-s-shapes-collection.cs) | `Diagram`, `Page`, `Pages` | Add a circle shape with a specific radius to the diagram s shapes collection |
| [add-a-custom-connection-point-at-coordinates-1-2-3-4-to-a-shape-using-connections-add-method.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-a-custom-connection-point-at-coordinates-1-2-3-4-to-a-shape-using-connections-add-method.cs) | `Connection`, `Diagram`, `Pages` | Add a custom connection point at coordinates 1 2 3 4 to a shape using connections add method |
| [add-a-master-shape-from-a-stencil-file-to-the-retrieved-page-using-its-master-name.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-a-master-shape-from-a-stencil-file-to-the-retrieved-page-using-its-master-name.cs) | `AddMaster`, `AddShape`, `Diagram` | Add a master shape from a stencil file to the retrieved page using its master name |
| [add-a-new-rectangle-shape-to-the-page-using-diagram-addshape-with-master-id-and-position.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-a-new-rectangle-shape-to-the-page-using-diagram-addshape-with-master-id-and-position.cs) | `AddMaster`, `AddShape`, `Diagram` | Add a new rectangle shape to the page using diagram addshape with master id and position |
| [add-a-rectangle-shape-with-defined-width-and-height-to-the-diagram-s-shapes-collection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-a-rectangle-shape-with-defined-width-and-height-to-the-diagram-s-shapes-collection.cs) | `AddShape`, `Diagram`, `Pages` | Add a rectangle shape with defined width and height to the diagram s shapes collection |
| [add-a-triangle-shape-and-set-its-geometry-points-before-inserting-into-the-shapes-collection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-a-triangle-shape-and-set-its-geometry-points-before-inserting-into-the-shapes-collection.cs) | `Diagram`, `Page`, `Pages` | Add a triangle shape and set its geometry points before inserting into the shapes collection |
| [add-connection-points-at-the-four-corners-of-a-rectangular-shape-by-calculating-corner-coordinates-from-locpin-values.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-connection-points-at-the-four-corners-of-a-rectangular-shape-by-calculating-corner-coordinates-from-locpin-values.cs) | `AddShape`, `Connection`, `Diagram` | Add connection points at the four corners of a rectangular shape by calculating corner coordinates from locpin values |
| [add-custom-property-to-a-shape-indicating-the-applied-theme-name-for-future-reference.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-custom-property-to-a-shape-indicating-the-applied-theme-name-for-future-reference.cs) | `Diagram`, `Pages`, `Prop` | Add custom property to a shape indicating the applied theme name for future reference |
| [add-error-handling-to-skip-shapes-lacking-locpinx-y-cells-while-calculating-absolute-coordinates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-error-handling-to-skip-shapes-lacking-locpinx-y-cells-while-calculating-absolute-coordinates.cs) | `Diagram`, `Pages`, `Save` | Add error handling to skip shapes lacking locpinx y cells while calculating absolute coordinates |
| [add-the-modified-shape-back-to-the-page-s-shapes-collection-and-ensure-it-appears-in-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/add-the-modified-shape-back-to-the-page-s-shapes-collection-and-ensure-it-appears-in-the-diagram.cs) | `AddShape`, `Diagram`, `Page` | Add the modified shape back to the page s shapes collection and ensure it appears in the diagram |
| [adjust-line-inheritance-flag-based-on-shape-type-enabling-inheritance-for-connectors-only.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/adjust-line-inheritance-flag-based-on-shape-type-enabling-inheritance-for-connectors-only.cs) | `Diagram`, `Pages`, `Save` | Adjust line inheritance flag based on shape type enabling inheritance for connectors only |
| [adjust-the-duplicated-shape-s-position-by-ten-units-and-assign-it-a-new-unique-id.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/adjust-the-duplicated-shape-s-position-by-ten-units-and-assign-it-a-new-unique-id.cs) | `AddShape`, `Diagram`, `Pages` | Adjust the duplicated shape s position by ten units and assign it a new unique id |
| [adjust-the-layout-geometry-of-a-shape-after-theme-change-to-maintain-proper-alignment-on-the-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/adjust-the-layout-geometry-of-a-shape-after-theme-change-to-maintain-proper-alignment-on-the-page.cs) | `Diagram`, `Pages`, `PresetTheme` | Adjust the layout geometry of a shape after theme change to maintain proper alignment on the page |
| [adjust-the-perspective-angle-of-a-shape-to-30-degrees-before-exporting-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/adjust-the-perspective-angle-of-a-shape-to-30-degrees-before-exporting-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Adjust the perspective angle of a shape to 30 degrees before exporting to pdf |
| [adjust-the-width-of-a-group-sub-shape-to-5-0-inches-by-invoking-setwidth-with-double-precision.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/adjust-the-width-of-a-group-sub-shape-to-5-0-inches-by-invoking-setwidth-with-double-precision.cs) | `Diagram`, `Pages`, `Save` | Adjust the width of a group sub shape to 5 0 inches by invoking setwidth with double precision |
| [adjust-the-y-coordinate-of-a-shape-by-adding-a-defined-offset-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/adjust-the-y-coordinate-of-a-shape-by-adding-a-defined-offset-value.cs) | `Diagram`, `Pages`, `Save` | Adjust the y coordinate of a shape by adding a defined offset value |
| [after-adding-a-shape-immediately-retrieve-its-geometry-data-to-confirm-correct-placement.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/after-adding-a-shape-immediately-retrieve-its-geometry-data-to-confirm-correct-placement.cs) | `AddShape`, `Diagram`, `Pages` | After adding a shape immediately retrieve its geometry data to confirm correct placement |
| [after-rotating-a-shape-capture-its-new-bounding-box-coordinates-and-write-them-to-a-json-report.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/after-rotating-a-shape-capture-its-new-bounding-box-coordinates-and-write-them-to-a-json-report.cs) | `Diagram`, `Pages`, `Save` | After rotating a shape capture its new bounding box coordinates and write them to a json report |
| [apply-a-10-degree-rotationzangle-to-all-shapes-and-export-the-diagram-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-10-degree-rotationzangle-to-all-shapes-and-export-the-diagram-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Apply a 10 degree rotationzangle to all shapes and export the diagram to pdf |
| [apply-a-3-d-rotation-transformation-to-a-shape-after-theme-assignment-to-create-perspective-view.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-3-d-rotation-transformation-to-a-shape-after-theme-assignment-to-create-perspective-view.cs) | `Diagram`, `Pages`, `PresetTheme` | Apply a 3 d rotation transformation to a shape after theme assignment to create perspective view |
| [apply-a-5-degree-rotationxangle-to-shapes-taller-than-200-points-and-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-5-degree-rotationxangle-to-shapes-taller-than-200-points-and-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Apply a 5 degree rotationxangle to shapes taller than 200 points and export to pdf |
| [apply-a-dashed-line-style-to-a-shape-by-assigning-the-appropriate-dash-pattern.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-dashed-line-style-to-a-shape-by-assigning-the-appropriate-dash-pattern.cs) | `AddShape`, `Diagram`, `Pages` | Apply a dashed line style to a shape by assigning the appropriate dash pattern |
| [apply-a-global-line-style-change-to-all-shapes-and-save-the-updated-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-global-line-style-change-to-all-shapes-and-save-the-updated-diagram.cs) | `Diagram`, `Pages`, `Save` | Apply a global line style change to all shapes and save the updated diagram |
| [apply-a-global-setting-to-enforce-fill-inheritance-across-all-shapes-in-a-diagram-before-export.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-global-setting-to-enforce-fill-inheritance-across-all-shapes-in-a-diagram-before-export.cs) | `Diagram`, `Pages`, `Save` | Apply a global setting to enforce fill inheritance across all shapes in a diagram before export |
| [apply-a-gradient-fill-theme-to-shapes-whose-area-exceeds-a-specified-size-threshold.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-gradient-fill-theme-to-shapes-whose-area-exceeds-a-specified-size-threshold.cs) | `Diagram`, `Pages`, `Save` | Apply a gradient fill theme to shapes whose area exceeds a specified size threshold |
| [apply-a-gradient-fill-to-shapes-while-preserving-existing-paragraph-formatting-and-colors.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-gradient-fill-to-shapes-while-preserving-existing-paragraph-formatting-and-colors.cs) | `Diagram`, `Pages`, `Save` | Apply a gradient fill to shapes while preserving existing paragraph formatting and colors |
| [apply-a-predefined-theme-to-the-newly-created-shape-and-confirm-theme-properties-are-applied.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-predefined-theme-to-the-newly-created-shape-and-confirm-theme-properties-are-applied.cs) | `Diagram`, `Pages`, `PresetTheme` | Apply a predefined theme to the newly created shape and confirm theme properties are applied |
| [apply-a-rotation-of-45-degrees-to-a-shape-s-xform-and-verify-orientation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-rotation-of-45-degrees-to-a-shape-s-xform-and-verify-orientation.cs) | `Diagram`, `Pages`, `Save` | Apply a rotation of 45 degrees to a shape s xform and verify orientation |
| [apply-a-scaling-factor-of-1-2-to-both-width-and-height-of-a-shape-using-setwidth-and-setheight.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-scaling-factor-of-1-2-to-both-width-and-height-of-a-shape-using-setwidth-and-setheight.cs) | `AddShape`, `Diagram`, `Page` | Apply a scaling factor of 1 2 to both width and height of a shape using setwidth and setheight |
| [apply-a-theme-to-shapes-only-when-their-existing-fill-color-matches-a-specific-rgb-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-theme-to-shapes-only-when-their-existing-fill-color-matches-a-specific-rgb-value.cs) | `Diagram`, `Pages`, `PresetTheme` | Apply a theme to shapes only when their existing fill color matches a specific rgb value |
| [apply-a-theme-to-shapes-whose-names-start-with-process-using-a-case-insensitive-comparison.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-theme-to-shapes-whose-names-start-with-process-using-a-case-insensitive-comparison.cs) | `Diagram`, `Pages`, `PresetTheme` | Apply a theme to shapes whose names start with process using a case insensitive comparison |
| [apply-a-uniform-distancefromground-of-15-points-to-all-shapes-in-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-a-uniform-distancefromground-of-15-points-to-all-shapes-in-the-diagram.cs) | `Diagram`, `Pages`, `Save` | Apply a uniform distancefromground of 15 points to all shapes in the diagram |
| [apply-combined-x-y-and-z-rotations-of-30-degrees-each-to-a-shape.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-combined-x-y-and-z-rotations-of-30-degrees-each-to-a-shape.cs) | `Diagram`, `Pages`, `Save` | Apply combined x y and z rotations of 30 degrees each to a shape |
| [apply-conditional-formatting-to-paragraphs-based-on-their-length-using-larger-fonts-for-longer-texts.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-conditional-formatting-to-paragraphs-based-on-their-length-using-larger-fonts-for-longer-texts.cs) | `Diagram`, `Page`, `Pages` | Apply conditional formatting to paragraphs based on their length using larger fonts for longer texts |
| [apply-conditional-logic-to-enable-fill-inheritance-only-for-shapes-whose-area-exceeds-a-threshold.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-conditional-logic-to-enable-fill-inheritance-only-for-shapes-whose-area-exceeds-a-threshold.cs) | `Diagram`, `Pages`, `Save` | Apply conditional logic to enable fill inheritance only for shapes whose area exceeds a threshold |
| [apply-conditional-logic-to-set-shape-height-only-if-current-height-is-less-than-a-specified-threshold.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-conditional-logic-to-set-shape-height-only-if-current-height-is-less-than-a-specified-threshold.cs) | `Diagram`, `Pages`, `Save` | Apply conditional logic to set shape height only if current height is less than a specified threshold |
| [apply-different-themes-to-shapes-based-on-their-layer-assignment-within-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-different-themes-to-shapes-based-on-their-layer-assignment-within-the-diagram.cs) | `Diagram`, `Pages`, `PresetTheme` | Apply different themes to shapes based on their layer assignment within the diagram |
| [apply-the-preset-theme-bubble-to-the-retrieved-shape-and-confirm-theme-properties-changed.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/apply-the-preset-theme-bubble-to-the-retrieved-shape-and-confirm-theme-properties-changed.cs) | `Diagram`, `Pages`, `PresetTheme` | Apply the preset theme bubble to the retrieved shape and confirm theme properties changed |
| [assign-a-custom-property-category-to-a-shape-and-later-query-shapes-sharing-this-property.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/assign-a-custom-property-category-to-a-shape-and-later-query-shapes-sharing-this-property.cs) | `Diagram`, `Page`, `Pages` | Assign a custom property category to a shape and later query shapes sharing this property |
| [attach-a-newly-created-connector-to-a-gluing-enabled-shape-and-verify-successful-attachment.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/attach-a-newly-created-connector-to-a-gluing-enabled-shape-and-verify-successful-attachment.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Attach a newly created connector to a gluing enabled shape and verify successful attachment |
| [automatically-disable-gluing-on-shapes-once-they-reach-a-maximum-number-of-attached-connectors.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/automatically-disable-gluing-on-shapes-once-they-reach-a-maximum-number-of-attached-connectors.cs) | `Diagram`, `Pages`, `Save` | Automatically disable gluing on shapes once they reach a maximum number of attached connectors |
| [batch-convert-all-shapes-across-multiple-diagrams-to-high-resolution-png-files.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-convert-all-shapes-across-multiple-diagrams-to-high-resolution-png-files.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Batch convert all shapes across multiple diagrams to high resolution png files |
| [batch-convert-all-shapes-on-a-specific-page-to-individual-svg-files.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-convert-all-shapes-on-a-specific-page-to-individual-svg-files.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Batch convert all shapes on a specific page to individual svg files |
| [batch-job-sets-line-jump-style-to-arc-for-connectors-whose-source-shape-is-a-decision-node.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-job-sets-line-jump-style-to-arc-for-connectors-whose-source-shape-is-a-decision-node.cs) | `Diagram`, `Layout`, `Pages` | Batch job sets line jump style to arc for connectors whose source shape is a decision node |
| [batch-process-a-folder-of-vsdx-files-setting-each-connector-s-jump-style-to-none.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-process-a-folder-of-vsdx-files-setting-each-connector-s-jump-style-to-none.cs) | `Diagram`, `Layout`, `Pages` | Batch process a folder of vsdx files setting each connector s jump style to none |
| [batch-process-diagrams-in-a-folder-rotating-all-shapes-named-arrow-by-ninety-degrees-before-saving.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-process-diagrams-in-a-folder-rotating-all-shapes-named-arrow-by-ninety-degrees-before-saving.cs) | `Diagram`, `Pages`, `Save` | Batch process diagrams in a folder rotating all shapes named arrow by ninety degrees before saving |
| [batch-process-multiple-vsdx-files-in-a-directory-resizing-each-target-shape-to-a-predefined-width.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-process-multiple-vsdx-files-in-a-directory-resizing-each-target-shape-to-a-predefined-width.cs) | `Diagram`, `Pages`, `Save` | Batch process multiple vsdx files in a directory resizing each target shape to a predefined width |
| [batch-rotate-all-shapes-with-ids-greater-than-50-by-fifteen-degrees-across-multiple-pages.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/batch-rotate-all-shapes-with-ids-greater-than-50-by-fifteen-degrees-across-multiple-pages.cs) | `Diagram`, `Pages`, `Save` | Batch rotate all shapes with ids greater than 50 by fifteen degrees across multiple pages |
| [benchmark-performance-impact-of-toggling-fill-inherit-on-large-diagrams-containing-thousands-of-shapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/benchmark-performance-impact-of-toggling-fill-inherit-on-large-diagrams-containing-thousands-of-shapes.cs) | `Diagram`, `Pages`, `Save` | Benchmark performance impact of toggling fill inherit on large diagrams containing thousands of shapes |
| [calculate-absolute-pinx-and-piny-for-all-sub-shapes-within-a-group-and-log-results-to-console.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/calculate-absolute-pinx-and-piny-for-all-sub-shapes-within-a-group-and-log-results-to-console.cs) | `Diagram`, `Pages`, `Shapes` | Calculate absolute pinx and piny for all sub shapes within a group and log results to console |
| [calculate-the-bounding-box-of-a-group-shape-by-aggregating-absolute-pinx-y-values-of-its-child-shapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/calculate-the-bounding-box-of-a-group-shape-by-aggregating-absolute-pinx-y-values-of-its-child-shapes.cs) | `Diagram`, `Pages`, `diagram` | Calculate the bounding box of a group shape by aggregating absolute pinx y values of its child shapes |
| [change-a-shape-s-line-color-to-blue-and-set-line-weight-to-two-points.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/change-a-shape-s-line-color-to-blue-and-set-line-weight-to-two-points.cs) | `Diagram`, `Pages`, `Save` | Change a shape s line color to blue and set line weight to two points |
| [change-a-shape-s-line-weight-to-a-new-value-and-verify-the-update-via-the-line-property.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/change-a-shape-s-line-weight-to-a-new-value-and-verify-the-update-via-the-line-property.cs) | `Diagram`, `Pages`, `Save` | Change a shape s line weight to a new value and verify the update via the line property |
| [change-the-fill-gradient-of-a-shape-to-a-two-color-scheme-after-theme-application.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/change-the-fill-gradient-of-a-shape-to-a-two-color-scheme-after-theme-application.cs) | `Diagram`, `Pages`, `Save` | Change the fill gradient of a shape to a two color scheme after theme application |
| [change-the-second-paragraph-s-font-style-to-italic-and-set-its-text-color-to-dark-blue.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/change-the-second-paragraph-s-font-style-to-italic-and-set-its-text-color-to-dark-blue.cs) | `Diagram`, `Pages`, `Save` | Change the second paragraph s font style to italic and set its text color to dark blue |
| [change-the-shadow-effect-of-a-shape-after-applying-a-theme-to-enhance-visual-depth.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/change-the-shadow-effect-of-a-shape-after-applying-a-theme-to-enhance-visual-depth.cs) | `Diagram`, `Pages`, `PresetTheme` | Change the shadow effect of a shape after applying a theme to enhance visual depth |
| [check-for-missing-shapes-by-id-before-applying-themes-and-log-any-discrepancies-found.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/check-for-missing-shapes-by-id-before-applying-themes-and-log-any-discrepancies-found.cs) | `Diagram`, `Pages`, `PresetTheme` | Check for missing shapes by id before applying themes and log any discrepancies found |
| [check-that-locpinx-and-locpiny-cells-contain-numeric-values-before-performing-absolute-pin-calculations.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/check-that-locpinx-and-locpiny-cells-contain-numeric-values-before-performing-absolute-pin-calculations.cs) | `Diagram`, `Pages`, `Save` | Check that locpinx and locpiny cells contain numeric values before performing absolute pin calculations |
| [check-the-line-inheritance-status-of-a-shape-by-reading-the-line-inherit-attribute.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/check-the-line-inheritance-status-of-a-shape-by-reading-the-line-inherit-attribute.cs) | `Diagram`, `Pages`, `Shapes` | Check the line inheritance status of a shape by reading the line inherit attribute |
| [check-whether-a-shape-inherits-its-fill-from-a-master-and-log-the-inheritance-status.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/check-whether-a-shape-inherits-its-fill-from-a-master-and-log-the-inheritance-status.cs) | `Diagram`, `Pages`, `Shapes` | Check whether a shape inherits its fill from a master and log the inheritance status |
| [check-whether-a-shape-is-gluing-enabled-before-attempting-to-attach-a-connector.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/check-whether-a-shape-is-gluing-enabled-before-attempting-to-attach-a-connector.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Check whether a shape is gluing enabled before attempting to attach a connector |
| [clone-a-shape-modify-its-width-and-place-the-cloned-instance-on-a-different-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/clone-a-shape-modify-its-width-and-place-the-cloned-instance-on-a-different-page.cs) | `Diagram`, `Page`, `Pages` | Clone a shape modify its width and place the cloned instance on a different page |
| [clone-a-shape-preserve-its-gluing-settings-and-insert-the-cloned-shape-elsewhere-in-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/clone-a-shape-preserve-its-gluing-settings-and-insert-the-cloned-shape-elsewhere-in-the-diagram.cs) | `AddShape`, `Diagram`, `Pages` | Clone a shape preserve its gluing settings and insert the cloned shape elsewhere in the diagram |
| [clone-an-existing-shape-apply-a-different-theme-to-the-clone-and-place-it-on-another-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/clone-an-existing-shape-apply-a-different-theme-to-the-clone-and-place-it-on-another-page.cs) | `Diagram`, `Page`, `Pages` | Clone an existing shape apply a different theme to the clone and place it on another page |
| [combine-fill-and-line-inheritance-checks-to-determine-if-a-shape-fully-inherits-formatting-from-its-master.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/combine-fill-and-line-inheritance-checks-to-determine-if-a-shape-fully-inherits-formatting-from-its-master.cs) | `Diagram`, `Pages`, `Shapes` | Combine fill and line inheritance checks to determine if a shape fully inherits formatting from its master |
| [compare-fill-inheritance-values-between-original-and-cloned-diagrams-to-ensure-consistency-after-duplication.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/compare-fill-inheritance-values-between-original-and-cloned-diagrams-to-ensure-consistency-after-duplication.cs) | `Diagram` | Compare fill inheritance values between original and cloned diagrams to ensure consistency after duplication |
| [compare-line-jump-styles-between-two-diagram-versions-to-detect-visual-differences.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/compare-line-jump-styles-between-two-diagram-versions-to-detect-visual-differences.cs) | `Diagram` | Compare line jump styles between two diagram versions to detect visual differences |
| [compare-paragraph-text-between-two-versions-of-a-diagram-and-highlight-differences-programmatically.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/compare-paragraph-text-between-two-versions-of-a-diagram-and-highlight-differences-programmatically.cs) | `Diagram`, `diagram` | Compare paragraph text between two versions of a diagram and highlight differences programmatically |
| [compare-shape-appearance-before-and-after-theme-application-by-rendering-thumbnails-and-saving-them.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/compare-shape-appearance-before-and-after-theme-application-by-rendering-thumbnails-and-saving-them.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Compare shape appearance before and after theme application by rendering thumbnails and saving them |
| [compare-the-fill-colors-of-two-shapes-and-log-a-warning-if-they-differ.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/compare-the-fill-colors-of-two-shapes-and-log-a-warning-if-they-differ.cs) | `Diagram`, `Pages`, `Shapes` | Compare the fill colors of two shapes and log a warning if they differ |
| [compare-visual-output-of-shapes-with-keeptextflat-true-in-pdf-and-svg-formats.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/compare-visual-output-of-shapes-with-keeptextflat-true-in-pdf-and-svg-formats.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Compare visual output of shapes with keeptextflat true in pdf and svg formats |
| [configure-the-rotation-type-to-perspective-and-assign-a-45-degree-perspective-angle.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/configure-the-rotation-type-to-perspective-and-assign-a-45-degree-perspective-angle.cs) | `Diagram`, `Pages`, `Save` | Configure the rotation type to perspective and assign a 45 degree perspective angle |
| [connect-a-star-shape-to-a-rectangle-using-source-index-1-and-target-index-2.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/connect-a-star-shape-to-a-rectangle-using-source-index-1-and-target-index-2.cs) | `AddMaster`, `AddShape`, `Diagram` | Connect a star shape to a rectangle using source index 1 and target index 2 |
| [connect-sub-shapes-from-three-different-groups-using-separate-connectors-and-list-resulting-connection-ids.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/connect-sub-shapes-from-three-different-groups-using-separate-connectors-and-list-resulting-connection-ids.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Connect sub shapes from three different groups using separate connectors and list resulting connection ids |
| [connect-two-sub-shapes-from-different-group-shapes-using-page-connectshapesviaconnector-method.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/connect-two-sub-shapes-from-different-group-shapes-using-page-connectshapesviaconnector-method.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Connect two sub shapes from different group shapes using page connectshapesviaconnector method |
| [convert-a-shape-to-html-format-preserving-visual-styling-accurately.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-a-shape-to-html-format-preserving-visual-styling-accurately.cs) | `Diagram`, `HTMLSaveOptions`, `Pages` | Convert a shape to html format preserving visual styling accurately |
| [convert-a-shape-to-pdf-format-using-appropriate-save-options.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-a-shape-to-pdf-format-using-appropriate-save-options.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Convert a shape to pdf format using appropriate save options |
| [convert-a-shape-to-svg-and-ensure-its-line-dash-pattern-is-preserved.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-a-shape-to-svg-and-ensure-its-line-dash-pattern-is-preserved.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Convert a shape to svg and ensure its line dash pattern is preserved |
| [convert-a-shape-to-svg-and-verify-that-text-elements-retain-original-fonts.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-a-shape-to-svg-and-verify-that-text-elements-retain-original-fonts.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Convert a shape to svg and verify that text elements retain original fonts |
| [convert-a-shape-to-svg-format-using-default-export-settings.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-a-shape-to-svg-format-using-default-export-settings.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Convert a shape to svg format using default export settings |
| [convert-a-shape-to-swf-format-and-handle-potential-conversion-errors.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-a-shape-to-swf-format-and-handle-potential-conversion-errors.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Convert a shape to swf format and handle potential conversion errors |
| [convert-multiple-shapes-to-svg-in-a-loop-appending-each-result-to-a-single-html-document.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/convert-multiple-shapes-to-svg-in-a-loop-appending-each-result-to-a-single-html-document.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Convert multiple shapes to svg in a loop appending each result to a single html document |
| [copy-a-shape-s-custom-data-cells-to-another-shape-and-verify-data-integrity-after-copying.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/copy-a-shape-s-custom-data-cells-to-another-shape-and-verify-data-integrity-after-copying.cs) | `Diagram`, `Pages`, `Save` | Copy a shape s custom data cells to another shape and verify data integrity after copying |
| [copy-an-entire-page-s-pagesheet-to-a-newly-created-page-while-preserving-background-settings.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/copy-an-entire-page-s-pagesheet-to-a-newly-created-page-while-preserving-background-settings.cs) | `Diagram`, `Page`, `Pages` | Copy an entire page s pagesheet to a newly created page while preserving background settings |
| [copy-an-existing-hexagon-shape-to-a-new-location-on-the-same-page-using-offset-coordinates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/copy-an-existing-hexagon-shape-to-a-new-location-on-the-same-page-using-offset-coordinates.cs) | `AddShape`, `Diagram`, `Pages` | Copy an existing hexagon shape to a new location on the same page using offset coordinates |
| [copy-shapes-from-one-diagram-to-another-while-offsetting-ids-to-avoid-conflicts.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/copy-shapes-from-one-diagram-to-another-while-offsetting-ids-to-avoid-conflicts.cs) | `Diagram`, `Page` | Copy shapes from one diagram to another while offsetting ids to avoid conflicts |
| [copy-the-shape-together-with-its-paragraphs-to-another-page-named-page-3-preserving-formatting.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/copy-the-shape-together-with-its-paragraphs-to-another-page-named-page-3-preserving-formatting.cs) | `Diagram`, `Page`, `Pages` | Copy the shape together with its paragraphs to another page named page 3 preserving formatting |
| [count-the-number-of-shapes-on-each-page-of-a-diagram-and-generate-a-summary-report.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/count-the-number-of-shapes-on-each-page-of-a-diagram-and-generate-a-summary-report.cs) | `Diagram`, `Pages`, `Shapes` | Count the number of shapes on each page of a diagram and generate a summary report |
| [create-a-batch-job-that-disables-gluing-on-all-shapes-exceeding-a-defined-size-threshold.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-batch-job-that-disables-gluing-on-all-shapes-exceeding-a-defined-size-threshold.cs) | `Diagram`, `Pages`, `Save` | Create a batch job that disables gluing on all shapes exceeding a defined size threshold |
| [create-a-batch-script-that-processes-all-diagrams-in-a-zip-archive-adjusting-specified-shape-sizes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-batch-script-that-processes-all-diagrams-in-a-zip-archive-adjusting-specified-shape-sizes.cs) | `Diagram`, `Pages`, `Save` | Create a batch script that processes all diagrams in a zip archive adjusting specified shape sizes |
| [create-a-connector-shape-between-two-existing-shapes-automatically-selecting-the-nearest-connection-points.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-connector-shape-between-two-existing-shapes-automatically-selecting-the-nearest-connection-points.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Create a connector shape between two existing shapes automatically selecting the nearest connection points |
| [create-a-diagnostic-tool-that-flags-connectors-lacking-explicit-line-jump-style-definitions.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-diagnostic-tool-that-flags-connectors-lacking-explicit-line-jump-style-definitions.cs) | `Diagram`, `Layout`, `Pages` | Create a diagnostic tool that flags connectors lacking explicit line jump style definitions |
| [create-a-group-containing-all-connector-shapes-and-confirm-connections-after-saving.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-group-containing-all-connector-shapes-and-confirm-connections-after-saving.cs) | `Diagram`, `Pages`, `Save` | Create a group containing all connector shapes and confirm connections after saving |
| [create-a-linq-query-to-select-shapes-whose-names-start-with-connector-and-adjust-their-widths.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-linq-query-to-select-shapes-whose-names-start-with-connector-and-adjust-their-widths.cs) | `Diagram`, `Pages`, `Save` | Create a linq query to select shapes whose names start with connector and adjust their widths |
| [create-a-macro-that-automatically-adds-a-timestamp-paragraph-to-every-new-shape-on-a-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-macro-that-automatically-adds-a-timestamp-paragraph-to-every-new-shape-on-a-page.cs) | `Diagram`, `Save`, `diagram` | Create a macro that automatically adds a timestamp paragraph to every new shape on a page |
| [create-a-macro-that-iterates-over-selected-shapes-and-flips-their-fill-inheritance-status.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-macro-that-iterates-over-selected-shapes-and-flips-their-fill-inheritance-status.cs) | `Diagram`, `Pages`, `Save` | Create a macro that iterates over selected shapes and flips their fill inheritance status |
| [create-a-method-that-accepts-a-shape-id-and-returns-its-absolute-pinx-y-as-a-tuple.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-method-that-accepts-a-shape-id-and-returns-its-absolute-pinx-y-as-a-tuple.cs) | `Pages`, `Shapes`, `diagram` | Create a method that accepts a shape id and returns its absolute pinx y as a tuple |
| [create-a-new-rectangle-shape-on-a-page-and-assign-the-flowchart-theme-during-creation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-new-rectangle-shape-on-a-page-and-assign-the-flowchart-theme-during-creation.cs) | `AddShape`, `Diagram`, `Page` | Create a new rectangle shape on a page and assign the flowchart theme during creation |
| [create-a-new-shape-on-the-page-at-coordinates-2-2-and-assign-a-unique-identifier.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-new-shape-on-the-page-at-coordinates-2-2-and-assign-a-unique-identifier.cs) | `AddShape`, `Diagram`, `Pages` | Create a new shape on the page at coordinates 2 2 and assign a unique identifier |
| [create-a-report-listing-shape-ids-names-and-their-fill-and-line-inheritance-statuses.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-report-listing-shape-ids-names-and-their-fill-and-line-inheritance-statuses.cs) | `Diagram`, `Pages`, `Shapes` | Create a report listing shape ids names and their fill and line inheritance statuses |
| [create-a-reusable-method-that-accepts-a-shape-and-theme-name-applying-the-theme-and-returning-success-status.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-reusable-method-that-accepts-a-shape-and-theme-name-applying-the-theme-and-returning-success-status.cs) | `PresetTheme`, `PresetThemeVariant`, `shape` | Create a reusable method that accepts a shape and theme name applying the theme and returning success status |
| [create-a-unit-test-that-ensures-adding-a-connection-point-increases-the-connections-collection-count-by-one.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-unit-test-that-ensures-adding-a-connection-point-increases-the-connections-collection-count-by-one.cs) | `AddShape`, `Connection`, `Diagram` | Create a unit test that ensures adding a connection point increases the connections collection count by one |
| [create-a-unit-test-that-verifies-fill-inheritance-is-correctly-reported-after-saving-and-reloading-a-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-unit-test-that-verifies-fill-inheritance-is-correctly-reported-after-saving-and-reloading-a-diagram.cs) | `Diagram`, `Pages`, `Save` | Create a unit test that verifies fill inheritance is correctly reported after saving and reloading a diagram |
| [create-a-unit-test-that-verifies-line-jump-style-changes-persist-after-diagram-serialization.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-unit-test-that-verifies-line-jump-style-changes-persist-after-diagram-serialization.cs) | `AddShape`, `Diagram`, `Page` | Create a unit test that verifies line jump style changes persist after diagram serialization |
| [create-a-utility-method-that-returns-a-dictionary-mapping-shape-ids-to-their-absolute-pin-coordinates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-a-utility-method-that-returns-a-dictionary-mapping-shape-ids-to-their-absolute-pin-coordinates.cs) | `Pages`, `Shapes`, `diagram` | Create a utility method that returns a dictionary mapping shape ids to their absolute pin coordinates |
| [create-an-svgsaveoptions-object-with-a-transparent-background-and-pass-it-to-tosvg-for-customized-output.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-an-svgsaveoptions-object-with-a-transparent-background-and-pass-it-to-tosvg-for-customized-output.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Create an svgsaveoptions object with a transparent background and pass it to tosvg for customized output |
| [create-five-distinct-shapes-on-a-new-page-and-arrange-them-in-a-circular-layout.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-five-distinct-shapes-on-a-new-page-and-arrange-them-in-a-circular-layout.cs) | `Diagram`, `Page`, `Pages` | Create five distinct shapes on a new page and arrange them in a circular layout |
| [create-unit-tests-for-setheight-and-setwidth-methods-ensuring-dimensions-are-set-accurately-within-tolerance.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/create-unit-tests-for-setheight-and-setwidth-methods-ensuring-dimensions-are-set-accurately-within-tolerance.cs) | `Diagram`, `Page`, `Pages` | Create unit tests for setheight and setwidth methods ensuring dimensions are set accurately within tolerance |
| [deserialize-json-configuration-to-apply-predefined-inheritance-flags-to-shapes-during-diagram-loading.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/deserialize-json-configuration-to-apply-predefined-inheritance-flags-to-shapes-during-diagram-loading.cs) | `Diagram`, `Pages`, `Save` | Deserialize json configuration to apply predefined inheritance flags to shapes during diagram loading |
| [deserialize-json-containing-paragraph-data-and-populate-a-shape-s-paragraphs-accordingly.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/deserialize-json-containing-paragraph-data-and-populate-a-shape-s-paragraphs-accordingly.cs) | `Diagram`, `Pages`, `Save` | Deserialize json containing paragraph data and populate a shape s paragraphs accordingly |
| [detach-all-connectors-from-a-shape-after-disabling-its-gluing-property-to-prepare-for-deletion.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/detach-all-connectors-from-a-shape-after-disabling-its-gluing-property-to-prepare-for-deletion.cs) | `Diagram`, `Pages`, `Save` | Detach all connectors from a shape after disabling its gluing property to prepare for deletion |
| [detect-and-log-shapes-that-have-inconsistent-inheritance-flags-between-fill-and-line-properties.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/detect-and-log-shapes-that-have-inconsistent-inheritance-flags-between-fill-and-line-properties.cs) | `Diagram`, `Pages`, `Shapes` | Detect and log shapes that have inconsistent inheritance flags between fill and line properties |
| [detect-and-remove-empty-paragraphs-from-all-shapes-on-a-given-page-to-clean-up-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/detect-and-remove-empty-paragraphs-from-all-shapes-on-a-given-page-to-clean-up-the-diagram.cs) | `Diagram`, `Pages`, `Save` | Detect and remove empty paragraphs from all shapes on a given page to clean up the diagram |
| [detect-and-skip-shapes-that-already-have-the-target-theme-applied-to-avoid-redundant-processing.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/detect-and-skip-shapes-that-already-have-the-target-theme-applied-to-avoid-redundant-processing.cs) | `Diagram`, `Pages`, `PresetTheme` | Detect and skip shapes that already have the target theme applied to avoid redundant processing |
| [detect-shapes-that-are-not-connected-to-any-other-shape-and-flag-them-for-review.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/detect-shapes-that-are-not-connected-to-any-other-shape-and-flag-them-for-review.cs) | `Diagram`, `Pages`, `Shapes` | Detect shapes that are not connected to any other shape and flag them for review |
| [detect-shapes-that-are-not-part-of-any-group-and-export-the-list-to-json.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/detect-shapes-that-are-not-part-of-any-group-and-export-the-list-to-json.cs) | `Diagram`, `Pages`, `Shapes` | Detect shapes that are not part of any group and export the list to json |
| [determine-the-parent-shape-of-a-sub-shape-and-display-its-id-and-name-in-the-console.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/determine-the-parent-shape-of-a-sub-shape-and-display-its-id-and-name-in-the-console.cs) | `Diagram`, `Pages`, `Shapes` | Determine the parent shape of a sub shape and display its id and name in the console |
| [determine-whether-a-shape-inherits-fill-formatting-from-its-master-using-the-inherit-flag.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/determine-whether-a-shape-inherits-fill-formatting-from-its-master-using-the-inherit-flag.cs) | `Diagram`, `Pages`, `Shapes` | Determine whether a shape inherits fill formatting from its master using the inherit flag |
| [develop-a-console-application-that-accepts-diagram-path-arguments-modifies-shape-dimensions-and-outputs-status-messages.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/develop-a-console-application-that-accepts-diagram-path-arguments-modifies-shape-dimensions-and-outputs-status-messages.cs) | `Diagram`, `Pages`, `Save` | Develop a console application that accepts diagram path arguments modifies shape dimensions and outputs status messages |
| [develop-a-console-utility-that-lists-shapes-with-gluing-enabled-and-their-attached-connectors.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/develop-a-console-utility-that-lists-shapes-with-gluing-enabled-and-their-attached-connectors.cs) | `Diagram`, `Pages`, `Shapes` | Develop a console utility that lists shapes with gluing enabled and their attached connectors |
| [disable-gluing-on-a-shape-to-prevent-further-connector-attachments-during-editing.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/disable-gluing-on-a-shape-to-prevent-further-connector-attachments-during-editing.cs) | `Diagram`, `Pages`, `Save` | Disable gluing on a shape to prevent further connector attachments during editing |
| [disable-line-inheritance-for-a-specific-shape-and-assign-a-new-line-weight-using-the-line-weight-property.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/disable-line-inheritance-for-a-specific-shape-and-assign-a-new-line-weight-using-the-line-weight-property.cs) | `Diagram`, `Pages`, `Save` | Disable line inheritance for a specific shape and assign a new line weight using the line weight property |
| [dispose-of-the-diagram-object-after-saving-to-release-unmanaged-resources-and-avoid-memory-leaks.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/dispose-of-the-diagram-object-after-saving-to-release-unmanaged-resources-and-avoid-memory-leaks.cs) | `Diagram`, `Save`, `diagram` | Dispose of the diagram object after saving to release unmanaged resources and avoid memory leaks |
| [duplicate-a-shape-assign-a-new-unique-id-and-place-the-copy-on-another-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/duplicate-a-shape-assign-a-new-unique-id-and-place-the-copy-on-another-page.cs) | `Diagram`, `Page`, `Pages` | Duplicate a shape assign a new unique id and place the copy on another page |
| [duplicate-a-shape-several-times-with-incremental-position-offsets-and-ensure-no-id-collisions-occur.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/duplicate-a-shape-several-times-with-incremental-position-offsets-and-ensure-no-id-collisions-occur.cs) | `Diagram`, `Page`, `Pages` | Duplicate a shape several times with incremental position offsets and ensure no id collisions occur |
| [duplicate-an-existing-shape-by-adding-a-new-shape-with-the-same-master-id-and-adjusting-its-position.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/duplicate-an-existing-shape-by-adding-a-new-shape-with-the-same-master-id-and-adjusting-its-position.cs) | `Diagram`, `Pages`, `Save` | Duplicate an existing shape by adding a new shape with the same master id and adjusting its position |
| [enable-fill-inheritance-for-multiple-shapes-in-a-diagram-by-setting-their-fill-inherit-properties-to-true.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/enable-fill-inheritance-for-multiple-shapes-in-a-diagram-by-setting-their-fill-inherit-properties-to-true.cs) | `Diagram`, `Pages`, `Save` | Enable fill inheritance for multiple shapes in a diagram by setting their fill inherit properties to true |
| [enable-glow-effect-on-connector-shapes-after-setting-their-connectors-type-to-a-dashed-style.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/enable-glow-effect-on-connector-shapes-after-setting-their-connectors-type-to-a-dashed-style.cs) | `Diagram`, `Pages`, `Save` | Enable glow effect on connector shapes after setting their connectors type to a dashed style |
| [enable-gluing-on-a-specific-shape-to-allow-connectors-to-attach-automatically.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/enable-gluing-on-a-specific-shape-to-allow-connectors-to-attach-automatically.cs) | `Diagram`, `Pages`, `Save` | Enable gluing on a specific shape to allow connectors to attach automatically |
| [enable-the-reroute-option-for-a-dynamic-connector-by-setting-layout-confixedcode-to-appropriate-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/enable-the-reroute-option-for-a-dynamic-connector-by-setting-layout-confixedcode-to-appropriate-value.cs) | `Diagram`, `Layout`, `Pages` | Enable the reroute option for a dynamic connector by setting layout confixedcode to appropriate value |
| [ensure-that-disabling-line-inheritance-does-not-affect-existing-line-color-attributes-on-the-shape.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/ensure-that-disabling-line-inheritance-does-not-affect-existing-line-color-attributes-on-the-shape.cs) | `Diagram`, `Pages`, `Save` | Ensure that disabling line inheritance does not affect existing line color attributes on the shape |
| [enumerate-all-shapes-that-are-currently-glued-to-a-given-shape-and-list-their-ids.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/enumerate-all-shapes-that-are-currently-glued-to-a-given-shape-and-list-their-ids.cs) | `Diagram`, `Pages`, `Save` | Enumerate all shapes that are currently glued to a given shape and list their ids |
| [expand-each-group-shape-to-expose-its-sub-shapes-before-applying-individual-rotations.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/expand-each-group-shape-to-expose-its-sub-shapes-before-applying-individual-rotations.cs) | `Diagram`, `Pages`, `Save` | Expand each group shape to expose its sub shapes before applying individual rotations |
| [export-a-diagram-s-shape-hierarchy-including-theme-information-to-an-xml-representation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-a-diagram-s-shape-hierarchy-including-theme-information-to-an-xml-representation.cs) | `Diagram`, `Pages`, `Shapes` | Export a diagram s shape hierarchy including theme information to an xml representation |
| [export-a-selected-shape-to-html-format-preserving-its-geometry-and-style-attributes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-a-selected-shape-to-html-format-preserving-its-geometry-and-style-attributes.cs) | `Diagram`, `HTMLSaveOptions`, `Pages` | Export a selected shape to html format preserving its geometry and style attributes |
| [export-a-shape-s-line-and-fill-definitions-to-a-json-file-for-reuse.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-a-shape-s-line-and-fill-definitions-to-a-json-file-for-reuse.cs) | `Diagram`, `Pages`, `Shapes` | Export a shape s line and fill definitions to a json file for reuse |
| [export-a-shape-to-html-and-embed-the-resulting-swf-file-with-fallback-image-support.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-a-shape-to-html-and-embed-the-resulting-swf-file-with-fallback-image-support.cs) | `Diagram`, `Save`, `diagram` | Export a shape to html and embed the resulting swf file with fallback image support |
| [export-a-shape-to-html-and-replace-its-inline-css-with-external-stylesheet-references.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-a-shape-to-html-and-replace-its-inline-css-with-external-stylesheet-references.cs) | `Diagram`, `HTMLSaveOptions`, `Pages` | Export a shape to html and replace its inline css with external stylesheet references |
| [export-a-specific-shape-to-pdf-format-with-high-resolution.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-a-specific-shape-to-pdf-format-with-high-resolution.cs) | `Diagram`, `Pages`, `Shapes` | Export a specific shape to pdf format with high resolution |
| [export-all-shapes-using-a-specific-master-to-html-maintaining-each-shape-s-individual-formatting.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-all-shapes-using-a-specific-master-to-html-maintaining-each-shape-s-individual-formatting.cs) | `Diagram`, `HTMLSaveOptions`, `Pages` | Export all shapes using a specific master to html maintaining each shape s individual formatting |
| [export-each-shape-on-a-specific-page-to-separate-html-files-with-embedded-css.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-each-shape-on-a-specific-page-to-separate-html-files-with-embedded-css.cs) | `Diagram`, `HTMLSaveOptions`, `Pages` | Export each shape on a specific page to separate html files with embedded css |
| [export-each-shape-on-a-specific-page-to-separate-pdf-files-named-by-shape-id.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-each-shape-on-a-specific-page-to-separate-pdf-files-named-by-shape-id.cs) | `Diagram`, `Pages`, `Shapes` | Export each shape on a specific page to separate pdf files named by shape id |
| [export-multiple-selected-shapes-to-separate-svg-files-named-by-their-shape-ids.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-multiple-selected-shapes-to-separate-svg-files-named-by-their-shape-ids.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Export multiple selected shapes to separate svg files named by their shape ids |
| [export-paragraph-texts-from-all-shapes-on-each-page-into-a-csv-file-for-external-analysis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-paragraph-texts-from-all-shapes-on-each-page-into-a-csv-file-for-external-analysis.cs) | `Diagram`, `Pages`, `Shapes` | Export paragraph texts from all shapes on each page into a csv file for external analysis |
| [export-shape-properties-such-as-id-name-and-theme-color-to-a-json-file-for-external-analysis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-shape-properties-such-as-id-name-and-theme-color-to-a-json-file-for-external-analysis.cs) | `Diagram`, `Pages`, `Shapes` | Export shape properties such as id name and theme color to a json file for external analysis |
| [export-the-diagram-to-svg-format-after-updating-fill-inheritance-to-reflect-custom-colors.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-the-diagram-to-svg-format-after-updating-fill-inheritance-to-reflect-custom-colors.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Export the diagram to svg format after updating fill inheritance to reflect custom colors |
| [export-the-selected-shape-as-a-high-resolution-png-image-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-the-selected-shape-as-a-high-resolution-png-image-file.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Export the selected shape as a high resolution png image file |
| [export-the-svg-string-of-a-shape-to-a-svg-file-on-disk-using-file-writealltext.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/export-the-svg-string-of-a-shape-to-a-svg-file-on-disk-using-file-writealltext.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Export the svg string of a shape to a svg file on disk using file writealltext |
| [extract-paragraph-font-names-from-all-shapes-and-store-them-in-a-dictionary-keyed-by-shape-id.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/extract-paragraph-font-names-from-all-shapes-and-store-them-in-a-dictionary-keyed-by-shape-id.cs) | `Diagram`, `Pages`, `Shapes` | Extract paragraph font names from all shapes and store them in a dictionary keyed by shape id |
| [extract-shape-ids-matching-the-pattern-node-and-write-them-to-a-csv-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/extract-shape-ids-matching-the-pattern-node-and-write-them-to-a-csv-file.cs) | `Diagram`, `Pages`, `Save` | Extract shape ids matching the pattern node and write them to a csv file |
| [extract-the-line-color-of-a-shape-and-output-its-rgb-components.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/extract-the-line-color-of-a-shape-and-output-its-rgb-components.cs) | `Diagram`, `Pages`, `Shapes` | Extract the line color of a shape and output its rgb components |
| [extract-the-list-of-child-shape-ids-from-a-parent-shape-for-further-use.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/extract-the-list-of-child-shape-ids-from-a-parent-shape-for-further-use.cs) | `Diagram`, `Pages`, `Shapes` | Extract the list of child shape ids from a parent shape for further use |
| [filter-shapes-by-a-custom-property-value-and-output-the-ids-of-matching-shapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/filter-shapes-by-a-custom-property-value-and-output-the-ids-of-matching-shapes.cs) | `Diagram`, `Pages`, `Shapes` | Filter shapes by a custom property value and output the ids of matching shapes |
| [filter-shapes-by-master-name-and-apply-a-custom-theme-only-to-those-matching-the-filter.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/filter-shapes-by-master-name-and-apply-a-custom-theme-only-to-those-matching-the-filter.cs) | `Diagram`, `Pages`, `PresetTheme` | Filter shapes by master name and apply a custom theme only to those matching the filter |
| [filter-shapes-by-master-name-process-and-collect-their-ids-for-analysis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/filter-shapes-by-master-name-process-and-collect-their-ids-for-analysis.cs) | `Diagram`, `Pages`, `Shapes` | Filter shapes by master name process and collect their ids for analysis |
| [filter-shapes-on-a-page-by-checking-for-paragraphs-containing-the-word-important-and-highlight-them.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/filter-shapes-on-a-page-by-checking-for-paragraphs-containing-the-word-important-and-highlight-them.cs) | `Diagram`, `Pages`, `Save` | Filter shapes on a page by checking for paragraphs containing the word important and highlight them |
| [filter-shapes-on-a-page-by-ids-greater-than-100-and-rotate-each-filtered-shape-by-five-degrees.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/filter-shapes-on-a-page-by-ids-greater-than-100-and-rotate-each-filtered-shape-by-five-degrees.cs) | `Diagram`, `Pages`, `Save` | Filter shapes on a page by ids greater than 100 and rotate each filtered shape by five degrees |
| [find-a-shape-using-its-name-property-ignoring-case-sensitivity-and-assign-it-to-a-variable.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/find-a-shape-using-its-name-property-ignoring-case-sensitivity-and-assign-it-to-a-variable.cs) | `Diagram`, `Pages`, `Shapes` | Find a shape using its name property ignoring case sensitivity and assign it to a variable |
| [generate-a-pdf-report-containing-rendered-images-of-each-shape-with-metadata.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-pdf-report-containing-rendered-images-of-each-shape-with-metadata.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Generate a pdf report containing rendered images of each shape with metadata |
| [generate-a-pdf-report-summarizing-rotation-settings-for-all-shapes-with-fixed-rotationtype.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-pdf-report-summarizing-rotation-settings-for-all-shapes-with-fixed-rotationtype.cs) | `Diagram`, `Pages`, `Shapes` | Generate a pdf report summarizing rotation settings for all shapes with fixed rotationtype |
| [generate-a-report-listing-each-connector-id-together-with-its-associated-line-jump-style.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-report-listing-each-connector-id-together-with-its-associated-line-jump-style.cs) | `Diagram`, `Layout`, `Pages` | Generate a report listing each connector id together with its associated line jump style |
| [generate-a-report-summarizing-each-shape-s-id-name-width-height-and-absolute-pin-coordinates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-report-summarizing-each-shape-s-id-name-width-height-and-absolute-pin-coordinates.cs) | `Diagram`, `Pages`, `Save` | Generate a report summarizing each shape s id name width height and absolute pin coordinates |
| [generate-a-report-summarizing-total-shapes-connectors-and-pages-within-the-loaded-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-report-summarizing-total-shapes-connectors-and-pages-within-the-loaded-diagram.cs) | `Diagram`, `Pages`, `Shapes` | Generate a report summarizing total shapes connectors and pages within the loaded diagram |
| [generate-a-summary-csv-listing-each-shape-s-id-final-width-final-height-and-number-of-connection-points.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-summary-csv-listing-each-shape-s-id-final-width-final-height-and-number-of-connection-points.cs) | `Diagram`, `Pages`, `Shapes` | Generate a summary csv listing each shape s id final width final height and number of connection points |
| [generate-a-summary-report-listing-each-shape-name-and-the-number-of-paragraphs-it-contains.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-summary-report-listing-each-shape-name-and-the-number-of-paragraphs-it-contains.cs) | `Diagram`, `Pages`, `Shapes` | Generate a summary report listing each shape name and the number of paragraphs it contains |
| [generate-a-visual-diagram-highlighting-shapes-with-disabled-line-inheritance-using-custom-line-colors.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-visual-diagram-highlighting-shapes-with-disabled-line-inheritance-using-custom-line-colors.cs) | `Diagram`, `Pages`, `Save` | Generate a visual diagram highlighting shapes with disabled line inheritance using custom line colors |
| [generate-a-visual-preview-of-connector-line-jumps-before-saving-changes-to-verify-appearance.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-a-visual-preview-of-connector-line-jumps-before-saving-changes-to-verify-appearance.cs) | `Diagram`, `ImageSaveOptions`, `Layout` | Generate a visual preview of connector line jumps before saving changes to verify appearance |
| [generate-svg-markup-for-a-single-shape-using-the-shape-tosvg-method-and-store-the-result.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/generate-svg-markup-for-a-single-shape-using-the-shape-tosvg-method-and-store-the-result.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Generate svg markup for a single shape using the shape tosvg method and store the result |
| [group-a-set-of-selected-shapes-into-a-single-group-on-a-given-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/group-a-set-of-selected-shapes-into-a-single-group-on-a-given-page.cs) | `Diagram`, `Pages`, `Save` | Group a set of selected shapes into a single group on a given page |
| [handle-exceptions-during-svg-conversion-by-catching-diagramexception-and-logging-error-details.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/handle-exceptions-during-svg-conversion-by-catching-diagramexception-and-logging-error-details.cs) | `Diagram`, `SVGSaveOptions`, `Save` | Handle exceptions during svg conversion by catching diagramexception and logging error details |
| [implement-a-batch-routine-that-updates-line-weight-for-all-page-shapes-based-on-current-width.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-batch-routine-that-updates-line-weight-for-all-page-shapes-based-on-current-width.cs) | `Diagram`, `Pages`, `Save` | Implement a batch routine that updates line weight for all page shapes based on current width |
| [implement-a-cleanup-routine-that-removes-duplicate-connection-points-from-shapes-after-batch-modifications.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-cleanup-routine-that-removes-duplicate-connection-points-from-shapes-after-batch-modifications.cs) | `Diagram`, `Pages`, `Save` | Implement a cleanup routine that removes duplicate connection points from shapes after batch modifications |
| [implement-a-command-line-tool-that-toggles-fill-inheritance-for-a-shape-identified-by-name.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-command-line-tool-that-toggles-fill-inheritance-for-a-shape-identified-by-name.cs) | `Diagram`, `Pages`, `Save` | Implement a command line tool that toggles fill inheritance for a shape identified by name |
| [implement-a-feature-to-copy-connection-points-from-a-template-shape-to-multiple-target-shapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-feature-to-copy-connection-points-from-a-template-shape-to-multiple-target-shapes.cs) | `Connection`, `Diagram`, `Pages` | Implement a feature to copy connection points from a template shape to multiple target shapes |
| [implement-a-function-that-rounds-calculated-pinx-y-values-to-two-decimal-places-before-applying-them.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-function-that-rounds-calculated-pinx-y-values-to-two-decimal-places-before-applying-them.cs) | `Diagram`, `Pages`, `Save` | Implement a function that rounds calculated pinx y values to two decimal places before applying them |
| [implement-a-logging-wrapper-around-setwidth-and-setheight-to-record-old-and-new-dimension-values.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-logging-wrapper-around-setwidth-and-setheight-to-record-old-and-new-dimension-values.cs) | `Diagram`, `Pages`, `Save` | Implement a logging wrapper around setwidth and setheight to record old and new dimension values |
| [implement-a-retry-mechanism-when-loading-a-diagram-fails-due-to-file-lock-then-set-paragraph-text.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-retry-mechanism-when-loading-a-diagram-fails-due-to-file-lock-then-set-paragraph-text.cs) | `Diagram`, `Pages`, `Save` | Implement a retry mechanism when loading a diagram fails due to file lock then set paragraph text |
| [implement-a-validation-routine-that-ensures-no-connector-has-an-undefined-line-jump-style.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-a-validation-routine-that-ensures-no-connector-has-an-undefined-line-jump-style.cs) | `Diagram`, `Layout`, `Pages` | Implement a validation routine that ensures no connector has an undefined line jump style |
| [implement-error-handling-for-attempts-to-attach-connectors-to-shapes-with-gluing-disabled.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-error-handling-for-attempts-to-attach-connectors-to-shapes-with-gluing-disabled.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Implement error handling for attempts to attach connectors to shapes with gluing disabled |
| [implement-error-handling-for-missing-fill-inherit-property-when-processing-shapes-from-older-visio-versions.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-error-handling-for-missing-fill-inherit-property-when-processing-shapes-from-older-visio-versions.cs) | `Diagram`, `Pages`, `Save` | Implement error handling for missing fill inherit property when processing shapes from older visio versions |
| [implement-error-handling-to-catch-exceptions-when-a-shape-id-is-not-found-during-retrieval.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-error-handling-to-catch-exceptions-when-a-shape-id-is-not-found-during-retrieval.cs) | `Diagram`, `Pages`, `Save` | Implement error handling to catch exceptions when a shape id is not found during retrieval |
| [implement-try-catch-blocks-around-theme-application-to-handle-exceptions-for-unsupported-shape-types.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-try-catch-blocks-around-theme-application-to-handle-exceptions-for-unsupported-shape-types.cs) | `Diagram`, `Pages`, `PresetTheme` | Implement try catch blocks around theme application to handle exceptions for unsupported shape types |
| [implement-unit-tests-verifying-that-setconnectorstype-changes-connector-appearance-as-expected-in-various-scenarios.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/implement-unit-tests-verifying-that-setconnectorstype-changes-connector-appearance-as-expected-in-various-scenarios.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Implement unit tests verifying that setconnectorstype changes connector appearance as expected in various scenarios |
| [initialize-a-diagram-object-using-a-memory-stream-containing-vsdx-data-and-confirm-parsing-succeeds.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/initialize-a-diagram-object-using-a-memory-stream-containing-vsdx-data-and-confirm-parsing-succeeds.cs) | `Diagram`, `Pages`, `diagram` | Initialize a diagram object using a memory stream containing vsdx data and confirm parsing succeeds |
| [iterate-over-all-pages-add-a-header-shape-containing-the-current-date-and-position-it-consistently.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-over-all-pages-add-a-header-shape-containing-the-current-date-and-position-it-consistently.cs) | `Diagram`, `Page`, `Pages` | Iterate over all pages add a header shape containing the current date and position it consistently |
| [iterate-through-a-shape-s-connections-collection-and-verify-that-newly-added-points-exist-and-are-correctly-typed.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-a-shape-s-connections-collection-and-verify-that-newly-added-points-exist-and-are-correctly-typed.cs) | `Connection`, `Diagram`, `Pages` | Iterate through a shape s connections collection and verify that newly added points exist and are correctly typed |
| [iterate-through-all-connectors-and-change-any-straight-jump-style-to-square-automatically.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-all-connectors-and-change-any-straight-jump-style-to-square-automatically.cs) | `Diagram`, `Layout`, `Pages` | Iterate through all connectors and change any straight jump style to square automatically |
| [iterate-through-all-shapes-and-count-how-many-have-a-red-line-attribute.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-all-shapes-and-count-how-many-have-a-red-line-attribute.cs) | `Diagram`, `Pages`, `Shapes` | Iterate through all shapes and count how many have a red line attribute |
| [iterate-through-all-shapes-in-a-visio-page-and-log-each-shape-s-inheritance-flags-for-fill-and-line.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-all-shapes-in-a-visio-page-and-log-each-shape-s-inheritance-flags-for-fill-and-line.cs) | `Diagram`, `Pages`, `Shapes` | Iterate through all shapes in a visio page and log each shape s inheritance flags for fill and line |
| [iterate-through-all-shapes-on-a-page-and-collect-their-paragraph-texts-into-a-list-for-reporting.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-all-shapes-on-a-page-and-collect-their-paragraph-texts-into-a-list-for-reporting.cs) | `Diagram`, `Pages`, `Shapes` | Iterate through all shapes on a page and collect their paragraph texts into a list for reporting |
| [iterate-through-each-page-find-shapes-with-a-specific-master-id-and-rotate-them-by-a-uniform-angle.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-each-page-find-shapes-with-a-specific-master-id-and-rotate-them-by-a-uniform-angle.cs) | `Diagram`, `Pages`, `Save` | Iterate through each page find shapes with a specific master id and rotate them by a uniform angle |
| [iterate-through-the-connectedshapes-collection-and-log-each-connected-shape-s-id-and-type.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/iterate-through-the-connectedshapes-collection-and-log-each-connected-shape-s-id-and-type.cs) | `Diagram`, `Pages`, `Shapes` | Iterate through the connectedshapes collection and log each connected shape s id and type |
| [list-all-connector-shapes-and-output-their-source-and-target-shape-ids-for-each-connection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/list-all-connector-shapes-and-output-their-source-and-target-shape-ids-for-each-connection.cs) | `Diagram`, `Pages`, `Shapes` | List all connector shapes and output their source and target shape ids for each connection |
| [list-all-shapes-that-have-no-connections-and-output-their-ids-for-further-analysis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/list-all-shapes-that-have-no-connections-and-output-their-ids-for-further-analysis.cs) | `Diagram`, `Pages`, `Shapes` | List all shapes that have no connections and output their ids for further analysis |
| [load-a-diagram-enable-gluing-on-a-group-of-shapes-and-attach-a-shared-connector.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-diagram-enable-gluing-on-a-group-of-shapes-and-attach-a-shared-connector.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Load a diagram enable gluing on a group of shapes and attach a shared connector |
| [load-a-diagram-from-a-memory-stream-and-apply-themes-without-writing-to-disk-first.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-diagram-from-a-memory-stream-and-apply-themes-without-writing-to-disk-first.cs) | `Diagram`, `Pages`, `PresetTheme` | Load a diagram from a memory stream and apply themes without writing to disk first |
| [load-a-diagram-from-a-memory-stream-modify-shape-size-and-write-the-result-to-a-byte-array.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-diagram-from-a-memory-stream-modify-shape-size-and-write-the-result-to-a-byte-array.cs) | `Diagram`, `Pages`, `Save` | Load a diagram from a memory stream modify shape size and write the result to a byte array |
| [load-a-diagram-locate-a-group-shape-and-rotate-each-of-its-sub-shapes-individually-by-twenty-degrees.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-diagram-locate-a-group-shape-and-rotate-each-of-its-sub-shapes-individually-by-twenty-degrees.cs) | `Diagram`, `Pages`, `Save` | Load a diagram locate a group shape and rotate each of its sub shapes individually by twenty degrees |
| [load-a-visio-diagram-apply-a-blur-effect-to-background-shapes-and-export-the-composition-as-a-high-quality-jpeg.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-apply-a-blur-effect-to-background-shapes-and-export-the-composition-as-a-high-quality-jpeg.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Load a visio diagram apply a blur effect to background shapes and export the composition as a high quality jpeg |
| [load-a-visio-diagram-apply-a-custom-dpi-of-600-when-exporting-shapes-to-jpeg-and-save-images.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-apply-a-custom-dpi-of-600-when-exporting-shapes-to-jpeg-and-save-images.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Load a visio diagram apply a custom dpi of 600 when exporting shapes to jpeg and save images |
| [load-a-visio-diagram-apply-a-custom-font-to-all-text-shapes-and-export-to-pdf-with-embedded-fonts.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-apply-a-custom-font-to-all-text-shapes-and-export-to-pdf-with-embedded-fonts.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Load a visio diagram apply a custom font to all text shapes and export to pdf with embedded fonts |
| [load-a-visio-diagram-apply-a-custom-watermark-image-to-each-page-and-save-the-watermarked-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-apply-a-custom-watermark-image-to-each-page-and-save-the-watermarked-pdf.cs) | `AddShape`, `Diagram`, `Pages` | Load a visio diagram apply a custom watermark image to each page and save the watermarked pdf |
| [load-a-visio-diagram-apply-a-drop-shadow-to-all-shapes-with-a-specific-tag-and-save-the-modified-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-apply-a-drop-shadow-to-all-shapes-with-a-specific-tag-and-save-the-modified-diagram.cs) | `Diagram`, `Pages`, `Save` | Load a visio diagram apply a drop shadow to all shapes with a specific tag and save the modified diagram |
| [load-a-visio-diagram-batch-add-a-drop-shadow-to-all-picture-shapes-and-export-each-page-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-batch-add-a-drop-shadow-to-all-picture-shapes-and-export-each-page-as-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Load a visio diagram batch add a drop shadow to all picture shapes and export each page as pdf |
| [load-a-visio-diagram-export-shapes-as-pngs-and-apply-lossless-compression-to-reduce-file-size.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-export-shapes-as-pngs-and-apply-lossless-compression-to-reduce-file-size.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Load a visio diagram export shapes as pngs and apply lossless compression to reduce file size |
| [load-a-visio-diagram-extract-all-shape-urls-validate-them-against-a-whitelist-and-generate-a-compliance-report.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-extract-all-shape-urls-validate-them-against-a-whitelist-and-generate-a-compliance-report.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram extract all shape urls validate them against a whitelist and generate a compliance report |
| [load-a-visio-diagram-extract-each-shape-s-geometry-as-a-dxf-file-and-archive-the-dxf-files.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-extract-each-shape-s-geometry-as-a-dxf-file-and-archive-the-dxf-files.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram extract each shape s geometry as a dxf file and archive the dxf files |
| [load-a-visio-diagram-extract-shape-geometry-data-and-serialize-the-coordinates-into-an-xml-document.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-extract-shape-geometry-data-and-serialize-the-coordinates-into-an-xml-document.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram extract shape geometry data and serialize the coordinates into an xml document |
| [load-a-visio-diagram-extract-text-from-each-shape-and-write-shape-ids-with-text-to-a-csv.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-extract-text-from-each-shape-and-write-shape-ids-with-text-to-a-csv.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram extract text from each shape and write shape ids with text to a csv |
| [load-a-visio-diagram-file-and-select-a-shape-by-its-id.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-file-and-select-a-shape-by-its-id.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram file and select a shape by its id |
| [load-a-visio-diagram-file-into-a-diagram-object-using-the-aspose-diagram-api.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-file-into-a-diagram-object-using-the-aspose-diagram-api.cs) | `Diagram`, `Pages`, `diagram` | Load a visio diagram file into a diagram object using the aspose diagram api |
| [load-a-visio-diagram-from-a-file-path-and-verify-successful-initialization.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-from-a-file-path-and-verify-successful-initialization.cs) | `Diagram`, `Pages`, `diagram` | Load a visio diagram from a file path and verify successful initialization |
| [load-a-visio-diagram-from-a-file-stream-and-access-its-shape-collection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-from-a-file-stream-and-access-its-shape-collection.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram from a file stream and access its shape collection |
| [load-a-visio-diagram-from-a-vsdx-file-using-the-diagram-class.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-from-a-vsdx-file-using-the-diagram-class.cs) | `Diagram`, `Pages`, `diagram` | Load a visio diagram from a vsdx file using the diagram class |
| [load-a-visio-diagram-generate-a-csv-listing-each-shape-s-id-type-and-area-in-square-millimeters.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-generate-a-csv-listing-each-shape-s-id-type-and-area-in-square-millimeters.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram generate a csv listing each shape s id type and area in square millimeters |
| [load-a-visio-diagram-generate-a-pdf-with-embedded-fonts-and-lossless-image-compression-for-optimal-quality.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-generate-a-pdf-with-embedded-fonts-and-lossless-image-compression-for-optimal-quality.cs) | `Diagram`, `PdfSaveOptions`, `Save` | Load a visio diagram generate a pdf with embedded fonts and lossless image compression for optimal quality |
| [load-a-visio-diagram-generate-a-pdf-with-vector-shapes-and-raster-images-compressed-using-zip-algorithm.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-generate-a-pdf-with-vector-shapes-and-raster-images-compressed-using-zip-algorithm.cs) | `Diagram`, `PdfSaveOptions`, `Save` | Load a visio diagram generate a pdf with vector shapes and raster images compressed using zip algorithm |
| [load-a-visio-diagram-generate-a-report-of-shapes-that-exceed-a-specified-area-threshold-and-save-as-csv.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-generate-a-report-of-shapes-that-exceed-a-specified-area-threshold-and-save-as-csv.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram generate a report of shapes that exceed a specified area threshold and save as csv |
| [load-a-visio-diagram-generate-a-vector-pdf-page-for-each-shape-and-combine-pages-into-a-single-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-generate-a-vector-pdf-page-for-each-shape-and-combine-pages-into-a-single-pdf.cs) | `Diagram`, `Pages`, `Shapes` | Load a visio diagram generate a vector pdf page for each shape and combine pages into a single pdf |
| [load-a-visio-diagram-programmatically-set-shape-protection-to-prevent-deletion-and-save-the-protected-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-programmatically-set-shape-protection-to-prevent-deletion-and-save-the-protected-file.cs) | `Diagram`, `Pages`, `Save` | Load a visio diagram programmatically set shape protection to prevent deletion and save the protected file |
| [load-a-visio-diagram-replace-all-gradient-fills-with-solid-colors-defined-in-a-configuration-file-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-replace-all-gradient-fills-with-solid-colors-defined-in-a-configuration-file-then-save.cs) | `Diagram`, `Pages`, `Save` | Load a visio diagram replace all gradient fills with solid colors defined in a configuration file then save |
| [load-a-visio-diagram-replace-all-instances-of-a-deprecated-shape-master-with-an-updated-master-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-replace-all-instances-of-a-deprecated-shape-master-with-an-updated-master-then-save.cs) | `AddShape`, `Diagram`, `Pages` | Load a visio diagram replace all instances of a deprecated shape master with an updated master then save |
| [load-a-visio-diagram-replace-all-placeholder-shapes-with-actual-company-logos-and-export-to-high-resolution-png.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-diagram-replace-all-placeholder-shapes-with-actual-company-logos-and-export-to-high-resolution-png.cs) | `AddShape`, `Diagram`, `ImageSaveOptions` | Load a visio diagram replace all placeholder shapes with actual company logos and export to high resolution png |
| [load-a-visio-file-apply-a-compression-setting-to-reduce-pdf-output-size-and-export-the-diagram-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-apply-a-compression-setting-to-reduce-pdf-output-size-and-export-the-diagram-to-pdf.cs) | `Diagram`, `PdfSaveOptions`, `Save` | Load a visio file apply a compression setting to reduce pdf output size and export the diagram to pdf |
| [load-a-visio-file-apply-a-custom-color-gradient-to-all-shapes-based-on-their-layer-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-apply-a-custom-color-gradient-to-all-shapes-based-on-their-layer-then-save.cs) | `Diagram`, `Pages`, `Save` | Load a visio file apply a custom color gradient to all shapes based on their layer then save |
| [load-a-visio-file-apply-a-uniform-background-image-to-all-pages-and-export-the-updated-diagram-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-apply-a-uniform-background-image-to-all-pages-and-export-the-updated-diagram-to-pdf.cs) | `AddShape`, `Diagram`, `Pages` | Load a visio file apply a uniform background image to all pages and export the updated diagram to pdf |
| [load-a-visio-file-apply-a-uniform-line-color-to-all-connector-shapes-and-save-the-diagram-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-apply-a-uniform-line-color-to-all-connector-shapes-and-save-the-diagram-as-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Load a visio file apply a uniform line color to all connector shapes and save the diagram as pdf |
| [load-a-visio-file-apply-anti-aliasing-settings-to-shape-rendering-and-export-each-shape-as-a-high-quality-jpeg.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-apply-anti-aliasing-settings-to-shape-rendering-and-export-each-shape-as-a-high-quality-jpeg.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Load a visio file apply anti aliasing settings to shape rendering and export each shape as a high quality jpeg |
| [load-a-visio-file-batch-add-data-fields-to-shapes-based-on-a-mapping-csv-and-export-updated-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-batch-add-data-fields-to-shapes-based-on-a-mapping-csv-and-export-updated-diagram.cs) | `Diagram`, `Pages`, `Save` | Load a visio file batch add data fields to shapes based on a mapping csv and export updated diagram |
| [load-a-visio-file-batch-convert-all-shapes-to-svg-format-and-store-them-in-a-hierarchical-folder-structure.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-batch-convert-all-shapes-to-svg-format-and-store-them-in-a-hierarchical-folder-structure.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Load a visio file batch convert all shapes to svg format and store them in a hierarchical folder structure |
| [load-a-visio-file-convert-all-shapes-to-vector-emf-format-and-combine-them-into-a-single-multi-page-document.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-convert-all-shapes-to-vector-emf-format-and-combine-them-into-a-single-multi-page-document.cs) | `Diagram`, `ImageSaveOptions`, `Page` | Load a visio file convert all shapes to vector emf format and combine them into a single multi page document |
| [load-a-visio-file-convert-each-shape-to-a-vector-pdf-page-and-preserve-original-layer-ordering.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-convert-each-shape-to-a-vector-pdf-page-and-preserve-original-layer-ordering.cs) | `Diagram` | Load a visio file convert each shape to a vector pdf page and preserve original layer ordering |
| [load-a-visio-file-detect-shapes-with-missing-fill-colors-assign-a-default-color-and-save-the-corrected-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-detect-shapes-with-missing-fill-colors-assign-a-default-color-and-save-the-corrected-diagram.cs) | `Diagram`, `Pages`, `Save` | Load a visio file detect shapes with missing fill colors assign a default color and save the corrected diagram |
| [load-a-visio-file-extract-a-shape-by-id-and-save-it-as-a-png-with-300-dpi.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-extract-a-shape-by-id-and-save-it-as-a-png-with-300-dpi.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Load a visio file extract a shape by id and save it as a png with 300 dpi |
| [load-a-visio-file-extract-shape-custom-properties-map-them-to-a-database-schema-and-insert-records.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-extract-shape-custom-properties-map-them-to-a-database-schema-and-insert-records.cs) | `Diagram`, `Pages`, `Save` | Load a visio file extract shape custom properties map them to a database schema and insert records |
| [load-a-visio-file-generate-a-pdf-index-page-linking-to-each-shape-s-detailed-page-and-prepend-to-document.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-generate-a-pdf-index-page-linking-to-each-shape-s-detailed-page-and-prepend-to-document.cs) | `Diagram`, `Page`, `Pages` | Load a visio file generate a pdf index page linking to each shape s detailed page and prepend to document |
| [load-a-visio-file-generate-a-printable-legend-that-maps-shape-colors-to-their-meanings-and-prepend-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-generate-a-printable-legend-that-maps-shape-colors-to-their-meanings-and-prepend-to-pdf.cs) | `Diagram`, `Page`, `Pages` | Load a visio file generate a printable legend that maps shape colors to their meanings and prepend to pdf |
| [load-a-visio-file-generate-a-vector-eps-file-for-each-shape-and-zip-the-eps-collection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-generate-a-vector-eps-file-for-each-shape-and-zip-the-eps-collection.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Load a visio file generate a vector eps file for each shape and zip the eps collection |
| [load-a-visio-file-identify-shapes-exceeding-a-size-threshold-and-flag-them-by-adding-a-red-border.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-identify-shapes-exceeding-a-size-threshold-and-flag-them-by-adding-a-red-border.cs) | `Diagram`, `Pages`, `Save` | Load a visio file identify shapes exceeding a size threshold and flag them by adding a red border |
| [load-a-visio-file-identify-shapes-with-no-assigned-master-and-assign-a-default-master-programmatically.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-identify-shapes-with-no-assigned-master-and-assign-a-default-master-programmatically.cs) | `AddMaster`, `Diagram`, `Masters` | Load a visio file identify shapes with no assigned master and assign a default master programmatically |
| [load-a-visio-file-into-a-diagram-object-and-verify-successful-initialization.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-into-a-diagram-object-and-verify-successful-initialization.cs) | `Diagram`, `Pages`, `diagram` | Load a visio file into a diagram object and verify successful initialization |
| [load-a-visio-file-merge-two-separate-diagrams-into-a-single-file-preserving-all-shape-layers-and-connections.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-merge-two-separate-diagrams-into-a-single-file-preserving-all-shape-layers-and-connections.cs) | `Diagram` | Load a visio file merge two separate diagrams into a single file preserving all shape layers and connections |
| [load-a-visio-file-programmatically-change-connector-routing-style-to-orthogonal-and-export-the-updated-diagram-to-svg.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-programmatically-change-connector-routing-style-to-orthogonal-and-export-the-updated-diagram-to-svg.cs) | `Diagram`, `Layout`, `Pages` | Load a visio file programmatically change connector routing style to orthogonal and export the updated diagram to svg |
| [load-a-visio-file-replace-shape-fill-colors-based-on-external-csv-data-then-save-the-modified-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-file-replace-shape-fill-colors-based-on-external-csv-data-then-save-the-modified-diagram.cs) | `Diagram`, `Pages`, `Save` | Load a visio file replace shape fill colors based on external csv data then save the modified diagram |
| [load-a-visio-vsdx-file-into-a-diagram-object-and-verify-successful-initialization.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-visio-vsdx-file-into-a-diagram-object-and-verify-successful-initialization.cs) | `Diagram`, `Pages`, `diagram` | Load a visio vsdx file into a diagram object and verify successful initialization |
| [load-a-vsd-file-from-a-path-and-list-each-shape-s-name-and-master-stencil.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-vsd-file-from-a-path-and-list-each-shape-s-name-and-master-stencil.cs) | `Diagram`, `Pages`, `Shapes` | Load a vsd file from a path and list each shape s name and master stencil |
| [load-a-vsdx-diagram-from-disk-into-a-diagram-instance-and-verify-successful-loading.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-vsdx-diagram-from-disk-into-a-diagram-instance-and-verify-successful-loading.cs) | `Diagram`, `Pages`, `diagram` | Load a vsdx diagram from disk into a diagram instance and verify successful loading |
| [load-a-vsdx-file-from-a-path-and-enumerate-all-shape-ids-in-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-vsdx-file-from-a-path-and-enumerate-all-shape-ids-in-the-diagram.cs) | `Diagram`, `Pages`, `Shapes` | Load a vsdx file from a path and enumerate all shape ids in the diagram |
| [load-a-vsdx-file-locate-a-sub-shape-by-id-and-calculate-its-absolute-pinx-coordinate.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-a-vsdx-file-locate-a-sub-shape-by-id-and-calculate-its-absolute-pinx-coordinate.cs) | `Diagram`, `Pages`, `Shapes` | Load a vsdx file locate a sub shape by id and calculate its absolute pinx coordinate |
| [load-multiple-visio-files-from-a-directory-apply-a-common-theme-to-new-shapes-and-save-them.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/load-multiple-visio-files-from-a-directory-apply-a-common-theme-to-new-shapes-and-save-them.cs) | `Diagram`, `Pages`, `PresetTheme` | Load multiple visio files from a directory apply a common theme to new shapes and save them |
| [locate-a-connector-shape-within-the-diagram-by-its-unique-identifier-or-name.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/locate-a-connector-shape-within-the-diagram-by-its-unique-identifier-or-name.cs) | `Diagram`, `Pages`, `Shapes` | Locate a connector shape within the diagram by its unique identifier or name |
| [locate-a-shape-by-its-unique-identifier-and-retrieve-its-fill-inherit-property-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/locate-a-shape-by-its-unique-identifier-and-retrieve-its-fill-inherit-property-value.cs) | `Diagram`, `Pages`, `diagram` | Locate a shape by its unique identifier and retrieve its fill inherit property value |
| [locate-a-shape-on-the-page-using-shapecollection-getshape-with-the-shape-id.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/locate-a-shape-on-the-page-using-shapecollection-getshape-with-the-shape-id.cs) | `Diagram`, `Pages`, `Shapes` | Locate a shape on the page using shapecollection getshape with the shape id |
| [lock-paragraph-editing-for-specific-shapes-while-allowing-other-modifications-and-verify-settings.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/lock-paragraph-editing-for-specific-shapes-while-allowing-other-modifications-and-verify-settings.cs) | `Diagram`, `Pages`, `Save` | Lock paragraph editing for specific shapes while allowing other modifications and verify settings |
| [log-each-theme-application-event-with-timestamp-and-shape-identifier-to-a-text-log-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/log-each-theme-application-event-with-timestamp-and-shape-identifier-to-a-text-log-file.cs) | `Diagram`, `Pages`, `PresetTheme` | Log each theme application event with timestamp and shape identifier to a text log file |
| [log-the-total-number-of-gluing-relationships-before-and-after-diagram-modifications-for-audit-purposes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/log-the-total-number-of-gluing-relationships-before-and-after-diagram-modifications-for-audit-purposes.cs) | `Diagram`, `Pages`, `Save` | Log the total number of gluing relationships before and after diagram modifications for audit purposes |
| [loop-through-all-shapes-on-a-page-and-apply-the-office-theme-to-each-shape-sequentially.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/loop-through-all-shapes-on-a-page-and-apply-the-office-theme-to-each-shape-sequentially.cs) | `Diagram`, `Pages`, `PresetTheme` | Loop through all shapes on a page and apply the office theme to each shape sequentially |
| [map-external-csv-data-to-shape-ids-and-apply-themes-based-on-corresponding-data-values.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/map-external-csv-data-to-shape-ids-and-apply-themes-based-on-corresponding-data-values.cs) | `Diagram`, `Pages`, `PresetTheme` | Map external csv data to shape ids and apply themes based on corresponding data values |
| [measure-the-time-taken-to-convert-a-hundred-shapes-to-svg-and-log-the-duration-for-performance-analysis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/measure-the-time-taken-to-convert-a-hundred-shapes-to-svg-and-log-the-duration-for-performance-analysis.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Measure the time taken to convert a hundred shapes to svg and log the duration for performance analysis |
| [merge-paragraphs-from-two-shapes-into-a-single-shape-while-preserving-individual-formatting-attributes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/merge-paragraphs-from-two-shapes-into-a-single-shape-while-preserving-individual-formatting-attributes.cs) | `AddShape`, `Diagram`, `Pages` | Merge paragraphs from two shapes into a single shape while preserving individual formatting attributes |
| [modify-a-shape-s-fill-inherit-flag-to-disable-inheritance-and-apply-a-custom-fill-color.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/modify-a-shape-s-fill-inherit-flag-to-disable-inheritance-and-apply-a-custom-fill-color.cs) | `Diagram`, `Pages`, `Save` | Modify a shape s fill inherit flag to disable inheritance and apply a custom fill color |
| [modify-a-shape-s-xform-coordinates-to-move-it-50-units-right-and-30-units-down.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/modify-a-shape-s-xform-coordinates-to-move-it-50-units-right-and-30-units-down.cs) | `Diagram`, `Pages`, `Save` | Modify a shape s xform coordinates to move it 50 units right and 30 units down |
| [modify-the-first-paragraph-s-font-size-to-twelve-points-and-align-it-to-center.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/modify-the-first-paragraph-s-font-size-to-twelve-points-and-align-it-to-center.cs) | `Diagram`, `Pages`, `Save` | Modify the first paragraph s font size to twelve points and align it to center |
| [modify-the-text-formatting-of-a-shape-including-font-size-and-color-following-theme-assignment.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/modify-the-text-formatting-of-a-shape-including-font-size-and-color-following-theme-assignment.cs) | `Diagram`, `Pages`, `PresetTheme` | Modify the text formatting of a shape including font size and color following theme assignment |
| [move-all-shapes-on-a-page-named-details-by-adding-twenty-units-to-their-x-coordinate-values.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/move-all-shapes-on-a-page-named-details-by-adding-twenty-units-to-their-x-coordinate-values.cs) | `Diagram`, `Pages`, `Save` | Move all shapes on a page named details by adding twenty units to their x coordinate values |
| [move-the-shape-to-new-coordinates-by-updating-its-pinx-and-piny-cells.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/move-the-shape-to-new-coordinates-by-updating-its-pinx-and-piny-cells.cs) | `Diagram`, `Pages`, `Save` | Move the shape to new coordinates by updating its pinx and piny cells |
| [obtain-a-shape-together-with-all-child-shapes-and-list-each-child-s-id-and-type.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/obtain-a-shape-together-with-all-child-shapes-and-list-each-child-s-id-and-type.cs) | `Diagram`, `Pages`, `Shapes` | Obtain a shape together with all child shapes and list each child s id and type |
| [open-a-visio-diagram-apply-a-custom-dpi-setting-of-600-when-exporting-shapes-to-png-and-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-apply-a-custom-dpi-setting-of-600-when-exporting-shapes-to-png-and-save.cs) | `Diagram`, `ImageSaveOptions`, `Save` | Open a visio diagram apply a custom dpi setting of 600 when exporting shapes to png and save |
| [open-a-visio-diagram-apply-a-uniform-background-color-to-all-pages-and-export-the-diagram-as-a-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-apply-a-uniform-background-color-to-all-pages-and-export-the-diagram-as-a-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio diagram apply a uniform background color to all pages and export the diagram as a pdf |
| [open-a-visio-diagram-batch-export-all-shape-thumbnails-at-100-100-pixels-and-save-them-with-descriptive-filenames.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-batch-export-all-shape-thumbnails-at-100-100-pixels-and-save-them-with-descriptive-filenames.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Open a visio diagram batch export all shape thumbnails at 100 100 pixels and save them with descriptive filenames |
| [open-a-visio-diagram-batch-increase-the-font-size-of-all-title-shapes-by-two-points-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-batch-increase-the-font-size-of-all-title-shapes-by-two-points-then-save.cs) | `Diagram`, `Pages`, `Save` | Open a visio diagram batch increase the font size of all title shapes by two points then save |
| [open-a-visio-diagram-batch-increase-the-line-thickness-of-all-shapes-by-0-2-pt-and-export-to-high-resolution-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-batch-increase-the-line-thickness-of-all-shapes-by-0-2-pt-and-export-to-high-resolution-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio diagram batch increase the line thickness of all shapes by 0 2 pt and export to high resolution pdf |
| [open-a-visio-diagram-batch-increase-the-opacity-of-all-shape-fills-to-80-and-export-to-png.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-batch-increase-the-opacity-of-all-shape-fills-to-80-and-export-to-png.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Open a visio diagram batch increase the opacity of all shape fills to 80 and export to png |
| [open-a-visio-diagram-batch-rename-shapes-using-a-prefix-derived-from-the-file-name-then-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-batch-rename-shapes-using-a-prefix-derived-from-the-file-name-then-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio diagram batch rename shapes using a prefix derived from the file name then export to pdf |
| [open-a-visio-diagram-detect-overlapping-shapes-and-automatically-reposition-them-to-eliminate-collisions.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-detect-overlapping-shapes-and-automatically-reposition-them-to-eliminate-collisions.cs) | `Diagram`, `Pages`, `Save` | Open a visio diagram detect overlapping shapes and automatically reposition them to eliminate collisions |
| [open-a-visio-diagram-detect-shapes-with-broken-data-links-and-generate-an-error-report-listing-them.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-detect-shapes-with-broken-data-links-and-generate-an-error-report-listing-them.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio diagram detect shapes with broken data links and generate an error report listing them |
| [open-a-visio-diagram-detect-shapes-with-duplicate-names-and-rename-them-by-appending-incremental-numbers.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-detect-shapes-with-duplicate-names-and-rename-them-by-appending-incremental-numbers.cs) | `Diagram`, `Pages`, `Save` | Open a visio diagram detect shapes with duplicate names and rename them by appending incremental numbers |
| [open-a-visio-diagram-detect-shapes-with-missing-custom-properties-and-add-default-properties-programmatically.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-detect-shapes-with-missing-custom-properties-and-add-default-properties-programmatically.cs) | `Diagram`, `Pages`, `Prop` | Open a visio diagram detect shapes with missing custom properties and add default properties programmatically |
| [open-a-visio-diagram-enumerate-all-shapes-and-generate-a-json-file-containing-each-shape-s-properties.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-enumerate-all-shapes-and-generate-a-json-file-containing-each-shape-s-properties.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio diagram enumerate all shapes and generate a json file containing each shape s properties |
| [open-a-visio-diagram-extract-all-shape-tags-and-create-a-tag-frequency-report-in-csv-format.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-extract-all-shape-tags-and-create-a-tag-frequency-report-in-csv-format.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio diagram extract all shape tags and create a tag frequency report in csv format |
| [open-a-visio-diagram-extract-shape-comments-translate-them-using-an-external-service-and-update-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-extract-shape-comments-translate-them-using-an-external-service-and-update-the-diagram.cs) | `Diagram`, `Pages`, `Save` | Open a visio diagram extract shape comments translate them using an external service and update the diagram |
| [open-a-visio-diagram-extract-shape-custom-property-values-and-populate-an-external-database-table-with-the-data.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-extract-shape-custom-property-values-and-populate-an-external-database-table-with-the-data.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio diagram extract shape custom property values and populate an external database table with the data |
| [open-a-visio-diagram-extract-shape-geometry-simplify-curves-using-a-tolerance-and-export-simplified-shapes-as-dxf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-extract-shape-geometry-simplify-curves-using-a-tolerance-and-export-simplified-shapes-as-dxf.cs) | `Diagram`, `Pages`, `Save` | Open a visio diagram extract shape geometry simplify curves using a tolerance and export simplified shapes as dxf |
| [open-a-visio-diagram-rotate-selected-shapes-45-degrees-and-render-the-result-to-a-pdf-document.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-diagram-rotate-selected-shapes-45-degrees-and-render-the-result-to-a-pdf-document.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio diagram rotate selected shapes 45 degrees and render the result to a pdf document |
| [open-a-visio-document-batch-add-data-graphics-to-shapes-based-on-external-excel-values-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-document-batch-add-data-graphics-to-shapes-based-on-external-excel-values-then-save.cs) | `Diagram`, `Pages`, `Save` | Open a visio document batch add data graphics to shapes based on external excel values then save |
| [open-a-visio-document-batch-resize-all-shapes-to-a-uniform-width-then-save-the-updated-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-document-batch-resize-all-shapes-to-a-uniform-width-then-save-the-updated-file.cs) | `Diagram`, `Pages`, `Save` | Open a visio document batch resize all shapes to a uniform width then save the updated file |
| [open-a-visio-document-extract-shape-comments-and-store-them-in-a-relational-database-with-shape-identifiers.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-document-extract-shape-comments-and-store-them-in-a-relational-database-with-shape-identifiers.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio document extract shape comments and store them in a relational database with shape identifiers |
| [open-a-visio-document-programmatically-lock-all-shapes-to-prevent-editing-and-export-the-locked-diagram-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-document-programmatically-lock-all-shapes-to-prevent-editing-and-export-the-locked-diagram-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio document programmatically lock all shapes to prevent editing and export the locked diagram to pdf |
| [open-a-visio-file-apply-a-custom-compression-level-when-saving-to-pdf-to-reduce-file-size.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-apply-a-custom-compression-level-when-saving-to-pdf-to-reduce-file-size.cs) | `Diagram`, `PdfSaveOptions`, `Save` | Open a visio file apply a custom compression level when saving to pdf to reduce file size |
| [open-a-visio-file-apply-a-custom-style-sheet-to-all-shapes-and-render-the-diagram-as-an-emf-image.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-apply-a-custom-style-sheet-to-all-shapes-and-render-the-diagram-as-an-emf-image.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Open a visio file apply a custom style sheet to all shapes and render the diagram as an emf image |
| [open-a-visio-file-apply-a-uniform-margin-of-10-mm-around-each-page-and-save-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-apply-a-uniform-margin-of-10-mm-around-each-page-and-save-as-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio file apply a uniform margin of 10 mm around each page and save as pdf |
| [open-a-visio-file-batch-replace-all-instances-of-a-specific-shape-master-with-another-master-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-batch-replace-all-instances-of-a-specific-shape-master-with-another-master-then-save.cs) | `AddShape`, `Diagram`, `Pages` | Open a visio file batch replace all instances of a specific shape master with another master then save |
| [open-a-visio-file-batch-replace-all-text-placeholders-with-values-from-a-json-file-then-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-batch-replace-all-text-placeholders-with-values-from-a-json-file-then-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio file batch replace all text placeholders with values from a json file then export to pdf |
| [open-a-visio-file-calculate-the-bounding-box-of-each-shape-and-write-the-dimensions-to-a-json-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-calculate-the-bounding-box-of-each-shape-and-write-the-dimensions-to-a-json-file.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file calculate the bounding box of each shape and write the dimensions to a json file |
| [open-a-visio-file-detect-shapes-with-overlapping-text-boxes-and-automatically-adjust-positions-to-avoid-overlap.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-detect-shapes-with-overlapping-text-boxes-and-automatically-adjust-positions-to-avoid-overlap.cs) | `Diagram`, `Pages`, `Save` | Open a visio file detect shapes with overlapping text boxes and automatically adjust positions to avoid overlap |
| [open-a-visio-file-extract-all-shape-ids-and-their-bounding-rectangles-and-output-to-a-csv-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-all-shape-ids-and-their-bounding-rectangles-and-output-to-a-csv-file.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file extract all shape ids and their bounding rectangles and output to a csv file |
| [open-a-visio-file-extract-shape-geometry-simplify-polygons-using-a-tolerance-and-export-simplified-shapes-as-svg.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-shape-geometry-simplify-polygons-using-a-tolerance-and-export-simplified-shapes-as-svg.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Open a visio file extract shape geometry simplify polygons using a tolerance and export simplified shapes as svg |
| [open-a-visio-file-extract-shape-ids-and-their-associated-comments-and-output-to-a-markdown-table.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-shape-ids-and-their-associated-comments-and-output-to-a-markdown-table.cs) | `Diagram`, `Pages`, `diagram` | Open a visio file extract shape ids and their associated comments and output to a markdown table |
| [open-a-visio-file-extract-shape-ids-and-their-associated-data-fields-and-write-to-an-xml-document.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-shape-ids-and-their-associated-data-fields-and-write-to-an-xml-document.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file extract shape ids and their associated data fields and write to an xml document |
| [open-a-visio-file-extract-shape-ids-and-their-associated-hyperlink-urls-and-write-them-to-a-json-array.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-shape-ids-and-their-associated-hyperlink-urls-and-write-them-to-a-json-array.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file extract shape ids and their associated hyperlink urls and write them to a json array |
| [open-a-visio-file-extract-shape-layer-information-and-generate-a-csv-mapping-shapes-to-their-layers.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-shape-layer-information-and-generate-a-csv-mapping-shapes-to-their-layers.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file extract shape layer information and generate a csv mapping shapes to their layers |
| [open-a-visio-file-extract-shape-rotation-angles-and-create-a-csv-listing-shape-ids-with-their-angles.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-shape-rotation-angles-and-create-a-csv-listing-shape-ids-with-their-angles.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file extract shape rotation angles and create a csv listing shape ids with their angles |
| [open-a-visio-file-extract-the-diagram-s-metadata-such-as-author-and-creation-date-and-write-to-json.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-the-diagram-s-metadata-such-as-author-and-creation-date-and-write-to-json.cs) | `Diagram` | Open a visio file extract the diagram s metadata such as author and creation date and write to json |
| [open-a-visio-file-extract-the-list-of-custom-properties-from-each-shape-and-output-to-an-excel-worksheet.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-extract-the-list-of-custom-properties-from-each-shape-and-output-to-an-excel-worksheet.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file extract the list of custom properties from each shape and output to an excel worksheet |
| [open-a-visio-file-programmatically-set-the-page-orientation-to-landscape-for-all-pages-and-save-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-programmatically-set-the-page-orientation-to-landscape-for-all-pages-and-save-as-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Open a visio file programmatically set the page orientation to landscape for all pages and save as pdf |
| [open-a-visio-file-replace-all-gradient-fills-with-solid-colors-defined-in-a-json-configuration-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-replace-all-gradient-fills-with-solid-colors-defined-in-a-json-configuration-then-save.cs) | `Diagram`, `Pages`, `Save` | Open a visio file replace all gradient fills with solid colors defined in a json configuration then save |
| [open-a-visio-file-validate-that-every-shape-contains-alt-text-and-generate-a-report-of-missing-entries.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/open-a-visio-file-validate-that-every-shape-contains-alt-text-and-generate-a-report-of-missing-entries.cs) | `Diagram`, `Pages`, `Shapes` | Open a visio file validate that every shape contains alt text and generate a report of missing entries |
| [override-inherited-fill-colors-by-assigning-a-new-fill-instance-with-custom-background-and-foreground-values.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/override-inherited-fill-colors-by-assigning-a-new-fill-instance-with-custom-background-and-foreground-values.cs) | `Diagram`, `Page`, `Pages` | Override inherited fill colors by assigning a new fill instance with custom background and foreground values |
| [parallelize-theme-application-across-pages-using-parallel-foreach-to-reduce-overall-processing-duration.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/parallelize-theme-application-across-pages-using-parallel-foreach-to-reduce-overall-processing-duration.cs) | `Diagram`, `Pages`, `PresetTheme` | Parallelize theme application across pages using parallel foreach to reduce overall processing duration |
| [perform-a-depth-first-traversal-of-the-shape-hierarchy-to-count-descendant-shapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/perform-a-depth-first-traversal-of-the-shape-hierarchy-to-count-descendant-shapes.cs) | `Diagram`, `Pages`, `Shapes` | Perform a depth first traversal of the shape hierarchy to count descendant shapes |
| [perform-batch-processing-to-set-a-uniform-paragraph-margin-for-shapes-across-multiple-diagram-files.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/perform-batch-processing-to-set-a-uniform-paragraph-margin-for-shapes-across-multiple-diagram-files.cs) | `Diagram`, `Pages`, `Save` | Perform batch processing to set a uniform paragraph margin for shapes across multiple diagram files |
| [process-multiple-diagram-files-in-a-batch-applying-the-same-theme-to-all-shapes-on-each-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/process-multiple-diagram-files-in-a-batch-applying-the-same-theme-to-all-shapes-on-each-file.cs) | `Diagram`, `Pages`, `PresetTheme` | Process multiple diagram files in a batch applying the same theme to all shapes on each file |
| [programmatically-attach-a-connector-to-the-nearest-gluing-enabled-shape-based-on-euclidean-distance.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/programmatically-attach-a-connector-to-the-nearest-gluing-enabled-shape-based-on-euclidean-distance.cs) | `Diagram`, `Pages`, `Save` | Programmatically attach a connector to the nearest gluing enabled shape based on euclidean distance |
| [programmatically-clone-a-shape-inherit-its-fill-settings-then-modify-the-clone-s-line-inheritance-flag.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/programmatically-clone-a-shape-inherit-its-fill-settings-then-modify-the-clone-s-line-inheritance-flag.cs) | `AddShape`, `Diagram`, `Pages` | Programmatically clone a shape inherit its fill settings then modify the clone s line inheritance flag |
| [programmatically-set-a-shape-s-glue-options-to-allow-only-incoming-connectors-not-outgoing.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/programmatically-set-a-shape-s-glue-options-to-allow-only-incoming-connectors-not-outgoing.cs) | `Diagram`, `Pages`, `Save` | Programmatically set a shape s glue options to allow only incoming connectors not outgoing |
| [protect-the-shape-from-editing-while-allowing-paragraph-text-modifications-and-verify-protection.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/protect-the-shape-from-editing-while-allowing-paragraph-text-modifications-and-verify-protection.cs) | `Diagram`, `Pages`, `Save` | Protect the shape from editing while allowing paragraph text modifications and verify protection |
| [read-a-custom-user-defined-cell-named-cost-from-a-shape-s-data-collection-into-a-dictionary.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-custom-user-defined-cell-named-cost-from-a-shape-s-data-collection-into-a-dictionary.cs) | `Diagram`, `Pages`, `Shapes` | Read a custom user defined cell named cost from a shape s data collection into a dictionary |
| [read-a-visio-diagram-apply-a-conditional-formatting-rule-that-colors-shapes-based-on-numeric-data-values.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-apply-a-conditional-formatting-rule-that-colors-shapes-based-on-numeric-data-values.cs) | `Diagram`, `Pages`, `Save` | Read a visio diagram apply a conditional formatting rule that colors shapes based on numeric data values |
| [read-a-visio-diagram-apply-a-custom-color-palette-to-all-shapes-and-export-the-result-as-a-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-apply-a-custom-color-palette-to-all-shapes-and-export-the-result-as-a-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio diagram apply a custom color palette to all shapes and export the result as a pdf |
| [read-a-visio-diagram-apply-a-grayscale-filter-to-all-picture-shapes-and-save-the-result-as-a-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-apply-a-grayscale-filter-to-all-picture-shapes-and-save-the-result-as-a-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio diagram apply a grayscale filter to all picture shapes and save the result as a pdf |
| [read-a-visio-diagram-apply-a-watermark-text-to-every-page-and-save-the-watermarked-document-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-apply-a-watermark-text-to-every-page-and-save-the-watermarked-document-as-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio diagram apply a watermark text to every page and save the watermarked document as pdf |
| [read-a-visio-diagram-batch-apply-a-custom-theme-to-all-pages-and-export-the-themed-diagram-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-apply-a-custom-theme-to-all-pages-and-export-the-themed-diagram-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio diagram batch apply a custom theme to all pages and export the themed diagram to pdf |
| [read-a-visio-diagram-batch-convert-all-connector-lines-to-dashed-style-and-save-the-modified-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-convert-all-connector-lines-to-dashed-style-and-save-the-modified-diagram.cs) | `Diagram`, `Pages`, `Save` | Read a visio diagram batch convert all connector lines to dashed style and save the modified diagram |
| [read-a-visio-diagram-batch-convert-all-shapes-to-high-resolution-tiff-and-store-them-in-a-date-named-folder.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-convert-all-shapes-to-high-resolution-tiff-and-store-them-in-a-date-named-folder.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio diagram batch convert all shapes to high resolution tiff and store them in a date named folder |
| [read-a-visio-diagram-batch-convert-all-shapes-to-svg-embed-metadata-attributes-and-store-in-a-version-controlled-reposit.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-convert-all-shapes-to-svg-embed-metadata-attributes-and-store-in-a-version-controlled-reposit.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Read a visio diagram batch convert all shapes to svg embed metadata attributes and store in a version controlled reposit |
| [read-a-visio-diagram-batch-convert-each-page-to-a-separate-pdf-with-bookmarks-for-each-shape.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-convert-each-page-to-a-separate-pdf-with-bookmarks-for-each-shape.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio diagram batch convert each page to a separate pdf with bookmarks for each shape |
| [read-a-visio-diagram-batch-replace-all-shape-fill-patterns-with-solid-colors-from-a-palette-then-save.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-replace-all-shape-fill-patterns-with-solid-colors-from-a-palette-then-save.cs) | `Diagram`, `Pages`, `Save` | Read a visio diagram batch replace all shape fill patterns with solid colors from a palette then save |
| [read-a-visio-diagram-batch-replace-all-shape-line-styles-with-a-dashed-pattern-and-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-batch-replace-all-shape-line-styles-with-a-dashed-pattern-and-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio diagram batch replace all shape line styles with a dashed pattern and export to pdf |
| [read-a-visio-diagram-extract-all-shape-images-convert-them-to-grayscale-and-archive-the-results-in-a-zip.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-extract-all-shape-images-convert-them-to-grayscale-and-archive-the-results-in-a-zip.cs) | `Diagram`, `Pages`, `Shapes` | Read a visio diagram extract all shape images convert them to grayscale and archive the results in a zip |
| [read-a-visio-diagram-extract-shape-layer-hierarchy-and-visualize-the-hierarchy-as-a-dot-graph-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-extract-shape-layer-hierarchy-and-visualize-the-hierarchy-as-a-dot-graph-file.cs) | `Diagram`, `Pages`, `Shapes` | Read a visio diagram extract shape layer hierarchy and visualize the hierarchy as a dot graph file |
| [read-a-visio-diagram-extract-shape-metadata-into-a-csv-then-use-the-csv-to-generate-a-summary-report.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-extract-shape-metadata-into-a-csv-then-use-the-csv-to-generate-a-summary-report.cs) | `Diagram`, `Pages`, `Shapes` | Read a visio diagram extract shape metadata into a csv then use the csv to generate a summary report |
| [read-a-visio-diagram-generate-a-printable-index-page-listing-all-shape-names-and-page-numbers-and-prepend-it.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-generate-a-printable-index-page-listing-all-shape-names-and-page-numbers-and-prepend-it.cs) | `Diagram`, `Page`, `Pages` | Read a visio diagram generate a printable index page listing all shape names and page numbers and prepend it |
| [read-a-visio-diagram-generate-a-summary-of-shape-counts-per-master-and-write-the-summary-to-a-text-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-generate-a-summary-of-shape-counts-per-master-and-write-the-summary-to-a-text-file.cs) | `Diagram`, `Pages`, `Shapes` | Read a visio diagram generate a summary of shape counts per master and write the summary to a text file |
| [read-a-visio-diagram-identify-shapes-with-missing-hyperlinks-and-automatically-add-default-urls-based-on-shape-names.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-identify-shapes-with-missing-hyperlinks-and-automatically-add-default-urls-based-on-shape-names.cs) | `Diagram`, `Pages`, `Save` | Read a visio diagram identify shapes with missing hyperlinks and automatically add default urls based on shape names |
| [read-a-visio-diagram-programmatically-add-a-page-footer-containing-the-current-date-and-save-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-programmatically-add-a-page-footer-containing-the-current-date-and-save-as-pdf.cs) | `Diagram`, `PdfSaveOptions`, `Save` | Read a visio diagram programmatically add a page footer containing the current date and save as pdf |
| [read-a-visio-diagram-programmatically-set-page-background-color-to-white-and-export-each-page-as-a-separate-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-diagram-programmatically-set-page-background-color-to-white-and-export-each-page-as-a-separate-pdf.cs) | `Diagram`, `Page`, `Pages` | Read a visio diagram programmatically set page background color to white and export each page as a separate pdf |
| [read-a-visio-document-filter-shapes-by-master-name-and-export-each-filtered-shape-to-separate-svg-files.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-document-filter-shapes-by-master-name-and-export-each-filtered-shape-to-separate-svg-files.cs) | `Diagram`, `Pages`, `SVGSaveOptions` | Read a visio document filter shapes by master name and export each filtered shape to separate svg files |
| [read-a-visio-file-apply-a-custom-border-thickness-to-all-shapes-and-export-each-page-as-a-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-apply-a-custom-border-thickness-to-all-shapes-and-export-each-page-as-a-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio file apply a custom border thickness to all shapes and export each page as a pdf |
| [read-a-visio-file-apply-a-shadow-effect-to-all-connector-shapes-and-export-a-high-resolution-image.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-apply-a-shadow-effect-to-all-connector-shapes-and-export-a-high-resolution-image.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio file apply a shadow effect to all connector shapes and export a high resolution image |
| [read-a-visio-file-apply-a-uniform-line-thickness-to-all-connector-shapes-and-export-the-diagram-as-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-apply-a-uniform-line-thickness-to-all-connector-shapes-and-export-the-diagram-as-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio file apply a uniform line thickness to all connector shapes and export the diagram as pdf |
| [read-a-visio-file-batch-add-page-numbers-to-the-footer-of-each-page-and-export-the-document-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-add-page-numbers-to-the-footer-of-each-page-and-export-the-document-to-pdf.cs) | `Diagram`, `PdfSaveOptions`, `Save` | Read a visio file batch add page numbers to the footer of each page and export the document to pdf |
| [read-a-visio-file-batch-export-all-pages-as-individual-high-resolution-pngs-with-transparent-background.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-export-all-pages-as-individual-high-resolution-pngs-with-transparent-background.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio file batch export all pages as individual high resolution pngs with transparent background |
| [read-a-visio-file-batch-increase-the-line-weight-of-all-connector-shapes-by-0-5-pt-and-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-increase-the-line-weight-of-all-connector-shapes-by-0-5-pt-and-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio file batch increase the line weight of all connector shapes by 0 5 pt and export to pdf |
| [read-a-visio-file-batch-increase-the-opacity-of-all-shape-fills-to-90-and-save-the-updated-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-increase-the-opacity-of-all-shape-fills-to-90-and-save-the-updated-file.cs) | `Diagram`, `Pages`, `Save` | Read a visio file batch increase the opacity of all shape fills to 90 and save the updated file |
| [read-a-visio-file-batch-resize-all-picture-shapes-to-a-maximum-width-of-500-pixels-preserving-aspect-ratio.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-resize-all-picture-shapes-to-a-maximum-width-of-500-pixels-preserving-aspect-ratio.cs) | `Diagram`, `Pages`, `Save` | Read a visio file batch resize all picture shapes to a maximum width of 500 pixels preserving aspect ratio |
| [read-a-visio-file-batch-set-the-default-font-size-for-all-text-shapes-to-10-pt-and-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-set-the-default-font-size-for-all-text-shapes-to-10-pt-and-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Read a visio file batch set the default font size for all text shapes to 10 pt and export to pdf |
| [read-a-visio-file-batch-set-the-page-background-to-a-light-gray-color-and-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-batch-set-the-page-background-to-a-light-gray-color-and-export-to-pdf.cs) | `Diagram`, `Page`, `Pages` | Read a visio file batch set the page background to a light gray color and export to pdf |
| [read-a-visio-file-convert-each-page-to-a-separate-high-resolution-tiff-image-preserving-vector-quality-where-possible.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-convert-each-page-to-a-separate-high-resolution-tiff-image-preserving-vector-quality-where-possible.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio file convert each page to a separate high resolution tiff image preserving vector quality where possible |
| [read-a-visio-file-duplicate-a-specific-shape-multiple-times-arrange-duplicates-in-a-grid-and-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-duplicate-a-specific-shape-multiple-times-arrange-duplicates-in-a-grid-and-export-to-pdf.cs) | `AddShape`, `Diagram`, `Pages` | Read a visio file duplicate a specific shape multiple times arrange duplicates in a grid and export to pdf |
| [read-a-visio-file-extract-shape-hyperlinks-validate-url-format-and-generate-a-report-of-invalid-links.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-extract-shape-hyperlinks-validate-url-format-and-generate-a-report-of-invalid-links.cs) | `Diagram`, `Pages`, `Shapes` | Read a visio file extract shape hyperlinks validate url format and generate a report of invalid links |
| [read-a-visio-file-generate-a-dependency-graph-of-connector-relationships-and-visualize-the-graph-as-a-png-image.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-generate-a-dependency-graph-of-connector-relationships-and-visualize-the-graph-as-a-png-image.cs) | `Diagram`, `ImageSaveOptions`, `Page` | Read a visio file generate a dependency graph of connector relationships and visualize the graph as a png image |
| [read-a-visio-file-generate-a-printable-index-of-all-pages-with-thumbnails-and-prepend-it-to-the-pdf-output.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-generate-a-printable-index-of-all-pages-with-thumbnails-and-prepend-it-to-the-pdf-output.cs) | `Diagram`, `ImageSaveOptions`, `Page` | Read a visio file generate a printable index of all pages with thumbnails and prepend it to the pdf output |
| [read-a-visio-file-generate-a-thumbnail-for-each-shape-at-64-64-pixels-and-store-them-in-a-cache.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-generate-a-thumbnail-for-each-shape-at-64-64-pixels-and-store-them-in-a-cache.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio file generate a thumbnail for each shape at 64 64 pixels and store them in a cache |
| [read-a-visio-file-generate-a-thumbnail-image-for-each-page-and-store-thumbnails-in-a-specified-folder.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-generate-a-thumbnail-image-for-each-page-and-store-thumbnails-in-a-specified-folder.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio file generate a thumbnail image for each page and store thumbnails in a specified folder |
| [read-a-visio-file-generate-a-vector-eps-file-for-each-page-and-store-them-in-an-output-directory.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-a-visio-file-generate-a-vector-eps-file-for-each-page-and-store-them-in-an-output-directory.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read a visio file generate a vector eps file for each page and store them in an output directory |
| [read-multiple-visio-files-convert-each-shape-to-an-image-and-combine-all-images-into-a-multi-page-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-multiple-visio-files-convert-each-shape-to-an-image-and-combine-all-images-into-a-multi-page-pdf.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Read multiple visio files convert each shape to an image and combine all images into a multi page pdf |
| [read-multiple-visio-files-extract-all-shape-images-and-create-a-compressed-zip-archive-containing-the-images.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-multiple-visio-files-extract-all-shape-images-and-create-a-compressed-zip-archive-containing-the-images.cs) | `Diagram`, `Pages`, `Shapes` | Read multiple visio files extract all shape images and create a compressed zip archive containing the images |
| [read-the-current-line-jump-style-of-the-identified-connector-and-log-the-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-the-current-line-jump-style-of-the-identified-connector-and-log-the-value.cs) | `Diagram`, `Pages`, `Shapes` | Read the current line jump style of the identified connector and log the value |
| [read-the-current-xform-coordinates-width-and-height-of-a-selected-shape.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-the-current-xform-coordinates-width-and-height-of-a-selected-shape.cs) | `Diagram`, `Pages`, `Shapes` | Read the current xform coordinates width and height of a selected shape |
| [read-the-dash-style-of-a-shape-s-line-map-it-to-a-descriptive-string-and-display-it.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-the-dash-style-of-a-shape-s-line-map-it-to-a-descriptive-string-and-display-it.cs) | `Diagram`, `Pages`, `Shapes` | Read the dash style of a shape s line map it to a descriptive string and display it |
| [read-the-fill-background-color-of-a-shape-and-compare-it-with-a-predefined-constant.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-the-fill-background-color-of-a-shape-and-compare-it-with-a-predefined-constant.cs) | `Diagram`, `Pages`, `Shapes` | Read the fill background color of a shape and compare it with a predefined constant |
| [read-the-master-stencil-information-of-a-shape-and-log-the-master-name.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/read-the-master-stencil-information-of-a-shape-and-log-the-master-name.cs) | `Diagram`, `Pages`, `Shapes` | Read the master stencil information of a shape and log the master name |
| [remove-all-shapes-that-have-no-child-shapes-leaving-only-parent-elements.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/remove-all-shapes-that-have-no-child-shapes-leaving-only-parent-elements.cs) | `Diagram`, `Pages`, `Save` | Remove all shapes that have no child shapes leaving only parent elements |
| [replace-a-shape-s-fill-pattern-with-a-solid-fill-by-clearing-the-pattern-index.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/replace-a-shape-s-fill-pattern-with-a-solid-fill-by-clearing-the-pattern-index.cs) | `Diagram`, `Pages`, `Save` | Replace a shape s fill pattern with a solid fill by clearing the pattern index |
| [replace-a-shape-s-master-with-a-different-master-id-to-change-its-visual-representation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/replace-a-shape-s-master-with-a-different-master-id-to-change-its-visual-representation.cs) | `AddShape`, `Diagram`, `Masters` | Replace a shape s master with a different master id to change its visual representation |
| [replace-placeholder-text-in-paragraphs-with-values-from-a-dictionary-and-save-the-updated-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/replace-placeholder-text-in-paragraphs-with-values-from-a-dictionary-and-save-the-updated-diagram.cs) | `Diagram`, `Pages`, `Save` | Replace placeholder text in paragraphs with values from a dictionary and save the updated diagram |
| [reset-a-shape-s-theme-to-default-values-before-applying-a-new-custom-theme.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/reset-a-shape-s-theme-to-default-values-before-applying-a-new-custom-theme.cs) | `Diagram`, `Pages`, `PresetTheme` | Reset a shape s theme to default values before applying a new custom theme |
| [reset-all-connector-line-jump-styles-to-the-library-s-default-setting-across-the-entire-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/reset-all-connector-line-jump-styles-to-the-library-s-default-setting-across-the-entire-diagram.cs) | `Diagram`, `Layout`, `Pages` | Reset all connector line jump styles to the library s default setting across the entire diagram |
| [resize-a-shape-by-setting-its-width-and-height-to-given-dimensions.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/resize-a-shape-by-setting-its-width-and-height-to-given-dimensions.cs) | `Diagram`, `Pages`, `Save` | Resize a shape by setting its width and height to given dimensions |
| [retrieve-a-page-object-from-the-diagram-by-its-name.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-page-object-from-the-diagram-by-its-name.cs) | `Diagram`, `Pages`, `Save` | Retrieve a page object from the diagram by its name |
| [retrieve-a-shape-by-its-unique-id-and-output-its-name-property.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-by-its-unique-id-and-output-its-name-property.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve a shape by its unique id and output its name property |
| [retrieve-a-shape-by-its-unique-id-from-a-specific-page-and-store-it-in-a-variable.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-by-its-unique-id-from-a-specific-page-and-store-it-in-a-variable.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve a shape by its unique id from a specific page and store it in a variable |
| [retrieve-a-shape-by-its-unique-identifier-from-the-loaded-diagram-for-further-processing.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-by-its-unique-identifier-from-the-loaded-diagram-for-further-processing.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve a shape by its unique identifier from the loaded diagram for further processing |
| [retrieve-a-shape-by-name-read-its-locpiny-cell-and-compute-the-absolute-piny-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-by-name-read-its-locpiny-cell-and-compute-the-absolute-piny-value.cs) | `Diagram`, `Pages`, `Save` | Retrieve a shape by name read its locpiny cell and compute the absolute piny value |
| [retrieve-a-shape-s-id-using-its-name-to-facilitate-lookup-operations-in-code.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-s-id-using-its-name-to-facilitate-lookup-operations-in-code.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve a shape s id using its name to facilitate lookup operations in code |
| [retrieve-a-shape-s-line-pattern-and-change-it-to-a-dotted-style.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-s-line-pattern-and-change-it-to-a-dotted-style.cs) | `Diagram`, `Pages`, `Save` | Retrieve a shape s line pattern and change it to a dotted style |
| [retrieve-a-shape-s-pinx-and-piny-cells-after-moving-it-to-confirm-new-absolute-coordinates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-s-pinx-and-piny-cells-after-moving-it-to-confirm-new-absolute-coordinates.cs) | `Diagram`, `Pages`, `Save` | Retrieve a shape s pinx and piny cells after moving it to confirm new absolute coordinates |
| [retrieve-a-shape-s-width-and-height-properties-using-its-id-for-layout-calculations.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-shape-s-width-and-height-properties-using-its-id-for-layout-calculations.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve a shape s width and height properties using its id for layout calculations |
| [retrieve-a-specific-page-such-as-page-2-from-the-loaded-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-a-specific-page-such-as-page-2-from-the-loaded-diagram.cs) | `Diagram`, `Pages`, `diagram` | Retrieve a specific page such as page 2 from the loaded diagram |
| [retrieve-all-shapes-glued-to-a-master-shape-and-output-their-identifiers-to-a-csv-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-all-shapes-glued-to-a-master-shape-and-output-their-identifiers-to-a-csv-file.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve all shapes glued to a master shape and output their identifiers to a csv file |
| [retrieve-fill-property-details-such-as-color-and-pattern-after-confirming-inheritance-is-disabled.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-fill-property-details-such-as-color-and-pattern-after-confirming-inheritance-is-disabled.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve fill property details such as color and pattern after confirming inheritance is disabled |
| [retrieve-ids-of-shapes-connected-to-a-given-shape-using-shape-connectedshapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-ids-of-shapes-connected-to-a-given-shape-using-shape-connectedshapes.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve ids of shapes connected to a given shape using shape connectedshapes |
| [retrieve-the-automatically-assigned-id-of-the-newly-added-shape-for-further-operations.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-the-automatically-assigned-id-of-the-newly-added-shape-for-further-operations.cs) | `AddShape`, `Diagram`, `Pages` | Retrieve the automatically assigned id of the newly added shape for further operations |
| [retrieve-the-paragraph-collection-from-the-shape-and-iterate-to-output-each-paragraph-s-content.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/retrieve-the-paragraph-collection-from-the-shape-and-iterate-to-output-each-paragraph-s-content.cs) | `Diagram`, `Pages`, `Shapes` | Retrieve the paragraph collection from the shape and iterate to output each paragraph s content |
| [rotate-a-shape-by-modifying-its-xform-rotation-property-to-a-specified-angle.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/rotate-a-shape-by-modifying-its-xform-rotation-property-to-a-specified-angle.cs) | `Diagram`, `Pages`, `Save` | Rotate a shape by modifying its xform rotation property to a specified angle |
| [rotate-all-group-shapes-on-a-specific-page-uniformly-by-thirty-degrees-for-consistent-orientation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/rotate-all-group-shapes-on-a-specific-page-uniformly-by-thirty-degrees-for-consistent-orientation.cs) | `Diagram`, `Pages`, `Save` | Rotate all group shapes on a specific page uniformly by thirty degrees for consistent orientation |
| [rotate-the-located-shape-to-a-specific-angle-using-the-setangle-method.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/rotate-the-located-shape-to-a-specific-angle-using-the-setangle-method.cs) | `Diagram`, `Pages`, `Save` | Rotate the located shape to a specific angle using the setangle method |
| [save-the-modified-diagram-back-to-a-visio-file-preserving-original-page-layout.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/save-the-modified-diagram-back-to-a-visio-file-preserving-original-page-layout.cs) | `Diagram`, `Save`, `diagram` | Save the modified diagram back to a visio file preserving original page layout |
| [save-the-modified-diagram-into-a-memory-stream-for-further-processing-in-a-web-service.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/save-the-modified-diagram-into-a-memory-stream-for-further-processing-in-a-web-service.cs) | `Diagram`, `Pages`, `Save` | Save the modified diagram into a memory stream for further processing in a web service |
| [save-the-modified-diagram-to-a-new-file-and-ensure-the-file-size-reflects-added-content.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/save-the-modified-diagram-to-a-new-file-and-ensure-the-file-size-reflects-added-content.cs) | `Diagram`, `Pages`, `Save` | Save the modified diagram to a new file and ensure the file size reflects added content |
| [save-the-modified-diagram-to-a-new-file-while-preserving-original-master-shape-definitions.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/save-the-modified-diagram-to-a-new-file-while-preserving-original-master-shape-definitions.cs) | `Diagram`, `Pages`, `Save` | Save the modified diagram to a new file while preserving original master shape definitions |
| [save-the-modified-diagram-to-a-new-vsdx-file-using-diagram-save-with-appropriate-format.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/save-the-modified-diagram-to-a-new-vsdx-file-using-diagram-save-with-appropriate-format.cs) | `Diagram`, `Pages`, `Save` | Save the modified diagram to a new vsdx file using diagram save with appropriate format |
| [save-the-updated-diagram-to-a-new-vsdx-file-while-preserving-original-page-order.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/save-the-updated-diagram-to-a-new-vsdx-file-while-preserving-original-page-order.cs) | `Diagram`, `Save`, `diagram` | Save the updated diagram to a new vsdx file while preserving original page order |
| [scale-a-shape-s-xform-width-and-height-by-a-factor-of-0-5-and-verify-dimensions.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/scale-a-shape-s-xform-width-and-height-by-a-factor-of-0-5-and-verify-dimensions.cs) | `Diagram`, `Pages`, `Save` | Scale a shape s xform width and height by a factor of 0 5 and verify dimensions |
| [serialize-a-shape-s-geometry-data-to-json-for-external-processing.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/serialize-a-shape-s-geometry-data-to-json-for-external-processing.cs) | `Diagram`, `Pages`, `Shapes` | Serialize a shape s geometry data to json for external processing |
| [serialize-shape-inheritance-settings-to-json-format-for-external-configuration-management-and-version-control.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/serialize-shape-inheritance-settings-to-json-format-for-external-configuration-management-and-version-control.cs) | `Diagram`, `Pages`, `Shapes` | Serialize shape inheritance settings to json format for external configuration management and version control |
| [serialize-the-modified-diagram-to-a-byte-array-for-transmission-over-a-network-service.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/serialize-the-modified-diagram-to-a-byte-array-for-transmission-over-a-network-service.cs) | `Diagram`, `Pages`, `Save` | Serialize the modified diagram to a byte array for transmission over a network service |
| [serialize-the-paragraph-collection-of-a-shape-to-json-for-integration-with-external-services.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/serialize-the-paragraph-collection-of-a-shape-to-json-for-integration-with-external-services.cs) | `Diagram`, `Pages`, `Shapes` | Serialize the paragraph collection of a shape to json for integration with external services |
| [set-a-45-degree-x-axis-rotation-on-a-shape-and-retrieve-its-threedformat-properties.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-a-45-degree-x-axis-rotation-on-a-shape-and-retrieve-its-threedformat-properties.cs) | `Diagram`, `Pages`, `Save` | Set a 45 degree x axis rotation on a shape and retrieve its threedformat properties |
| [set-a-custom-saveoptions-object-to-control-image-resolution-when-converting-shapes-to-png.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-a-custom-saveoptions-object-to-control-image-resolution-when-converting-shapes-to-png.cs) | `Diagram`, `ImageSaveOptions`, `Save` | Set a custom saveoptions object to control image resolution when converting shapes to png |
| [set-a-custom-theme-color-on-a-shape-using-the-themecolor-property-with-a-hexadecimal-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-a-custom-theme-color-on-a-shape-using-the-themecolor-property-with-a-hexadecimal-value.cs) | `Diagram`, `Pages`, `Save` | Set a custom theme color on a shape using the themecolor property with a hexadecimal value |
| [set-a-shape-s-line-color-using-a-hexadecimal-string-and-confirm-the-color-conversion-succeeds.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-a-shape-s-line-color-using-a-hexadecimal-string-and-confirm-the-color-conversion-succeeds.cs) | `AddShape`, `Diagram`, `Pages` | Set a shape s line color using a hexadecimal string and confirm the color conversion succeeds |
| [set-a-shape-s-line-transparency-to-50-percent-and-observe-the-pdf-output.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-a-shape-s-line-transparency-to-50-percent-and-observe-the-pdf-output.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Set a shape s line transparency to 50 percent and observe the pdf output |
| [set-connector-reroute-option-only-for-connectors-that-have-more-than-three-bends-in-their-path.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-connector-reroute-option-only-for-connectors-that-have-more-than-three-bends-in-their-path.cs) | `Diagram`, `Layout`, `Pages` | Set connector reroute option only for connectors that have more than three bends in their path |
| [set-hyperlink-property-on-a-themed-shape-to-open-a-documentation-url-when-clicked.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-hyperlink-property-on-a-themed-shape-to-open-a-documentation-url-when-clicked.cs) | `AddShape`, `Diagram`, `Pages` | Set hyperlink property on a themed shape to open a documentation url when clicked |
| [set-multiline-paragraph-text-including-bullet-points-for-the-newly-created-shape.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-multiline-paragraph-text-including-bullet-points-for-the-newly-created-shape.cs) | `Diagram`, `Pages`, `Save` | Set multiline paragraph text including bullet points for the newly created shape |
| [set-paragraph-line-spacing-to-1-5-lines-for-improved-readability-across-all-shapes-on-a-page.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-paragraph-line-spacing-to-1-5-lines-for-improved-readability-across-all-shapes-on-a-page.cs) | `Diagram`, `Pages`, `Save` | Set paragraph line spacing to 1 5 lines for improved readability across all shapes on a page |
| [set-the-connector-s-line-jump-style-to-arc-to-improve-visual-clarity.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-connector-s-line-jump-style-to-arc-to-improve-visual-clarity.cs) | `Diagram`, `Layout`, `Pages` | Set the connector s line jump style to arc to improve visual clarity |
| [set-the-connector-s-line-jump-style-to-none-when-no-jump-visual-is-required.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-connector-s-line-jump-style-to-none-when-no-jump-visual-is-required.cs) | `Diagram`, `Layout`, `Pages` | Set the connector s line jump style to none when no jump visual is required |
| [set-the-connector-s-line-jump-style-to-square-for-better-shape-intersection-handling.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-connector-s-line-jump-style-to-square-for-better-shape-intersection-handling.cs) | `Diagram`, `Layout`, `Pages` | Set the connector s line jump style to square for better shape intersection handling |
| [set-the-distancefromground-property-to-20-points-for-a-shape-and-preview-elevation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-distancefromground-property-to-20-points-for-a-shape-and-preview-elevation.cs) | `Diagram`, `ImageSaveOptions`, `Pages` | Set the distancefromground property to 20 points for a shape and preview elevation |
| [set-the-fill-foreground-color-of-a-shape-to-a-specific-color-using-the-fill-property.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-fill-foreground-color-of-a-shape-to-a-specific-color-using-the-fill-property.cs) | `Diagram`, `Pages`, `Save` | Set the fill foreground color of a shape to a specific color using the fill property |
| [set-the-height-of-a-selected-shape-to-2-5-centimeters-using-the-setheight-method.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-height-of-a-selected-shape-to-2-5-centimeters-using-the-setheight-method.cs) | `Diagram`, `Pages`, `Save` | Set the height of a selected shape to 2 5 centimeters using the setheight method |
| [set-the-keeptextflat-flag-to-false-on-a-rotated-shape-to-allow-text-rotation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-keeptextflat-flag-to-false-on-a-rotated-shape-to-allow-text-rotation.cs) | `Diagram`, `Pages`, `Save` | Set the keeptextflat flag to false on a rotated shape to allow text rotation |
| [set-the-keeptextflat-flag-to-true-on-a-rotated-shape-to-keep-text-horizontal.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-keeptextflat-flag-to-true-on-a-rotated-shape-to-keep-text-horizontal.cs) | `Diagram`, `Pages`, `Save` | Set the keeptextflat flag to true on a rotated shape to keep text horizontal |
| [set-the-rotationtype-to-fixed-and-apply-a-90-degree-y-axis-rotation.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-rotationtype-to-fixed-and-apply-a-90-degree-y-axis-rotation.cs) | `Diagram`, `Pages`, `Save` | Set the rotationtype to fixed and apply a 90 degree y axis rotation |
| [set-the-x-coordinate-of-a-shape-to-a-specific-value-while-preserving-its-y-position.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/set-the-x-coordinate-of-a-shape-to-a-specific-value-while-preserving-its-y-position.cs) | `Diagram`, `Pages`, `Save` | Set the x coordinate of a shape to a specific value while preserving its y position |
| [update-a-shape-s-fill-pattern-to-solid-and-apply-a-green-background-color.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/update-a-shape-s-fill-pattern-to-solid-and-apply-a-green-background-color.cs) | `Diagram`, `Pages`, `Save` | Update a shape s fill pattern to solid and apply a green background color |
| [update-paragraph-alignment-to-justified-for-all-paragraphs-in-shapes-belonging-to-a-specific-master.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/update-paragraph-alignment-to-justified-for-all-paragraphs-in-shapes-belonging-to-a-specific-master.cs) | `Diagram`, `Pages`, `Save` | Update paragraph alignment to justified for all paragraphs in shapes belonging to a specific master |
| [update-the-line-weight-and-dash-pattern-of-a-themed-shape-after-applying-the-preset-theme.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/update-the-line-weight-and-dash-pattern-of-a-themed-shape-after-applying-the-preset-theme.cs) | `Diagram`, `Pages`, `Save` | Update the line weight and dash pattern of a themed shape after applying the preset theme |
| [use-a-batch-process-to-set-line-inheritance-to-false-for-all-shapes-in-multiple-diagrams.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-a-batch-process-to-set-line-inheritance-to-false-for-all-shapes-in-multiple-diagrams.cs) | `Diagram`, `Pages`, `Save` | Use a batch process to set line inheritance to false for all shapes in multiple diagrams |
| [use-a-configuration-file-to-specify-which-shapes-should-retain-custom-fill-while-inheriting-line-styles.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-a-configuration-file-to-specify-which-shapes-should-retain-custom-fill-while-inheriting-line-styles.cs) | `Diagram`, `Pages`, `Save` | Use a configuration file to specify which shapes should retain custom fill while inheriting line styles |
| [use-a-configuration-file-to-specify-which-theme-to-apply-to-each-shape-type-during-runtime.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-a-configuration-file-to-specify-which-theme-to-apply-to-each-shape-type-during-runtime.cs) | `Diagram`, `Pages`, `PresetTheme` | Use a configuration file to specify which theme to apply to each shape type during runtime |
| [use-a-custom-font-family-for-all-paragraphs-in-shapes-imported-from-a-legacy-stencil-file.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-a-custom-font-family-for-all-paragraphs-in-shapes-imported-from-a-legacy-stencil-file.cs) | `AddMaster`, `AddShape`, `Diagram` | Use a custom font family for all paragraphs in shapes imported from a legacy stencil file |
| [use-a-dictionary-to-map-shape-ids-to-custom-connection-point-collections-for-later-batch-updates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-a-dictionary-to-map-shape-ids-to-custom-connection-point-collections-for-later-batch-updates.cs) | `Diagram`, `Pages`, `Save` | Use a dictionary to map shape ids to custom connection point collections for later batch updates |
| [use-inheritfill-to-read-inherited-colors-then-customize-them-via-the-fill-property.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-inheritfill-to-read-inherited-colors-then-customize-them-via-the-fill-property.cs) | `Diagram`, `Pages`, `Save` | Use inheritfill to read inherited colors then customize them via the fill property |
| [use-linq-to-filter-shapes-that-currently-inherit-both-fill-and-line-formatting-from-masters.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-linq-to-filter-shapes-that-currently-inherit-both-fill-and-line-formatting-from-masters.cs) | `Diagram`, `Pages`, `Shapes` | Use linq to filter shapes that currently inherit both fill and line formatting from masters |
| [use-linq-to-select-connector-shapes-and-set-their-connectors-type-to-orthogonal-style.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-linq-to-select-connector-shapes-and-set-their-connectors-type-to-orthogonal-style.cs) | `Diagram`, `Pages`, `Save` | Use linq to select connector shapes and set their connectors type to orthogonal style |
| [use-linq-to-select-shapes-whose-fill-foreground-color-matches-a-specific-rgb-value-for-targeted-updates.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-linq-to-select-shapes-whose-fill-foreground-color-matches-a-specific-rgb-value-for-targeted-updates.cs) | `Diagram`, `Pages`, `Save` | Use linq to select shapes whose fill foreground color matches a specific rgb value for targeted updates |
| [use-shape-data-fields-to-drive-conditional-theme-selection-for-each-shape-during-processing.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-shape-data-fields-to-drive-conditional-theme-selection-for-each-shape-during-processing.cs) | `Diagram`, `Pages`, `PresetTheme` | Use shape data fields to drive conditional theme selection for each shape during processing |
| [use-shape-s-shapesheet-to-directly-modify-theme-related-cells-for-advanced-customization-in-the-diagram-s-underlying-dat.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-shape-s-shapesheet-to-directly-modify-theme-related-cells-for-advanced-customization-in-the-diagram-s-underlying-dat.cs) | `Diagram`, `Pages`, `Save` | Use shape s shapesheet to directly modify theme related cells for advanced customization in the diagram s underlying dat |
| [use-shape-setconnectorstype-to-change-a-connector-shape-to-a-curved-style-and-observe-rendering.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-shape-setconnectorstype-to-change-a-connector-shape-to-a-curved-style-and-observe-rendering.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Use shape setconnectorstype to change a connector shape to a curved style and observe rendering |
| [use-shapecollection-getshape-to-locate-multiple-shapes-by-id-before-performing-batch-rotations.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-shapecollection-getshape-to-locate-multiple-shapes-by-id-before-performing-batch-rotations.cs) | `Diagram`, `Pages`, `Save` | Use shapecollection getshape to locate multiple shapes by id before performing batch rotations |
| [use-the-connectshapesviaconn-method-to-connect-two-shapes-by-specifying-source-and-target-indexes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/use-the-connectshapesviaconn-method-to-connect-two-shapes-by-specifying-source-and-target-indexes.cs) | `AddShape`, `ConnectShapesViaConnector`, `Diagram` | Use the connectshapesviaconn method to connect two shapes by specifying source and target indexes |
| [validate-that-a-shape-s-xform-coordinates-remain-within-page-boundaries-after-translation-transformations.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-a-shape-s-xform-coordinates-remain-within-page-boundaries-after-translation-transformations.cs) | `Diagram`, `Pages`, `Save` | Validate that a shape s xform coordinates remain within page boundaries after translation transformations |
| [validate-that-all-shapes-have-non-null-master-references-before-performing-bulk-modifications.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-all-shapes-have-non-null-master-references-before-performing-bulk-modifications.cs) | `Diagram`, `Pages`, `Save` | Validate that all shapes have non null master references before performing bulk modifications |
| [validate-that-all-shapes-on-a-page-inherit-line-formatting-from-their-masters-before-exporting.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-all-shapes-on-a-page-inherit-line-formatting-from-their-masters-before-exporting.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Validate that all shapes on a page inherit line formatting from their masters before exporting |
| [validate-that-dynamic-connectors-have-reroute-enabled-after-setting-layout-confixedcode-appropriately-in-the-current-dia.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-dynamic-connectors-have-reroute-enabled-after-setting-layout-confixedcode-appropriately-in-the-current-dia.cs) | `Diagram`, `Layout`, `Pages` | Validate that dynamic connectors have reroute enabled after setting layout confixedcode appropriately in the current dia |
| [validate-that-each-shape-has-a-non-null-themecolor-after-applying-custom-colors-to-all-shapes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-each-shape-has-a-non-null-themecolor-after-applying-custom-colors-to-all-shapes.cs) | `Diagram`, `Pages`, `Save` | Validate that each shape has a non null themecolor after applying custom colors to all shapes |
| [validate-that-each-shape-s-first-paragraph-uses-the-default-font-after-applying-a-global-theme.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-each-shape-s-first-paragraph-uses-the-default-font-after-applying-a-global-theme.cs) | `Diagram`, `Pages`, `PresetTheme` | Validate that each shape s first paragraph uses the default font after applying a global theme |
| [validate-that-every-shape-in-the-diagram-has-a-unique-id-and-report-any-duplicates-found.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-every-shape-in-the-diagram-has-a-unique-id-and-report-any-duplicates-found.cs) | `Diagram`, `Pages`, `Shapes` | Validate that every shape in the diagram has a unique id and report any duplicates found |
| [validate-that-no-shape-exceeds-a-rotation-angle-of-180-degrees-on-any-axis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-no-shape-exceeds-a-rotation-angle-of-180-degrees-on-any-axis.cs) | `Diagram`, `Pages`, `Shapes` | Validate that no shape exceeds a rotation angle of 180 degrees on any axis |
| [validate-that-no-shape-exceeds-a-rotationyangle-of-360-degrees.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-no-shape-exceeds-a-rotationyangle-of-360-degrees.cs) | `Diagram`, `Pages`, `Shapes` | Validate that no shape exceeds a rotationyangle of 360 degrees |
| [validate-that-paragraph-text-does-not-exceed-a-specified-character-limit-before-saving-the-diagram.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-paragraph-text-does-not-exceed-a-specified-character-limit-before-saving-the-diagram.cs) | `Diagram`, `Pages`, `Save` | Validate that paragraph text does not exceed a specified character limit before saving the diagram |
| [validate-that-shape-ids-remain-consistent-after-renaming-shape-names.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-shape-ids-remain-consistent-after-renaming-shape-names.cs) | `Diagram`, `Pages`, `Save` | Validate that shape ids remain consistent after renaming shape names |
| [validate-that-shapes-inheriting-fill-from-masters-correctly-display-master-s-gradient-after-export-to-pdf.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-shapes-inheriting-fill-from-masters-correctly-display-master-s-gradient-after-export-to-pdf.cs) | `Diagram`, `Pages`, `PdfSaveOptions` | Validate that shapes inheriting fill from masters correctly display master s gradient after export to pdf |
| [validate-that-the-distancefromground-value-for-each-shape-does-not-exceed-100-points.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/validate-that-the-distancefromground-value-for-each-shape-does-not-exceed-100-points.cs) | `Diagram`, `Pages`, `Shapes` | Validate that the distancefromground value for each shape does not exceed 100 points |
| [verify-that-all-connector-shapes-contain-at-least-one-valid-connection-index-and-flag-invalid-ones.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/verify-that-all-connector-shapes-contain-at-least-one-valid-connection-index-and-flag-invalid-ones.cs) | `Diagram`, `Pages`, `Shapes` | Verify that all connector shapes contain at least one valid connection index and flag invalid ones |
| [verify-that-the-angle-cell-of-each-rotated-shape-matches-the-intended-rotation-value.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/verify-that-the-angle-cell-of-each-rotated-shape-matches-the-intended-rotation-value.cs) | `Diagram`, `Pages`, `Save` | Verify that the angle cell of each rotated shape matches the intended rotation value |
| [verify-that-two-specified-shapes-are-glued-or-connected-properly.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/verify-that-two-specified-shapes-are-glued-or-connected-properly.cs) | `Diagram`, `Pages`, `Shapes` | Verify that two specified shapes are glued or connected properly |
| [verify-the-rotation-by-reading-the-shape-s-angle-cell-after-calling-setangle.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/verify-the-rotation-by-reading-the-shape-s-angle-cell-after-calling-setangle.cs) | `Diagram`, `Pages`, `Save` | Verify the rotation by reading the shape s angle cell after calling setangle |
| [verify-whether-a-shape-belongs-to-any-group-and-add-it-if-not.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/verify-whether-a-shape-belongs-to-any-group-and-add-it-if-not.cs) | `Diagram`, `Pages`, `Save` | Verify whether a shape belongs to any group and add it if not |
| [write-a-function-that-returns-the-number-of-connectors-attached-to-each-gluing-enabled-shape.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/write-a-function-that-returns-the-number-of-connectors-attached-to-each-gluing-enabled-shape.cs) | `Diagram`, `Pages`, `Shapes` | Write a function that returns the number of connectors attached to each gluing enabled shape |
| [write-a-script-that-reads-shape-inheritance-data-and-outputs-a-csv-summary-for-reporting-purposes.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/write-a-script-that-reads-shape-inheritance-data-and-outputs-a-csv-summary-for-reporting-purposes.cs) | `Diagram`, `Pages`, `Shapes` | Write a script that reads shape inheritance data and outputs a csv summary for reporting purposes |
| [write-a-script-to-export-a-list-of-glued-shape-pairs-to-a-json-file-for-analysis.cs](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-shapes/write-a-script-to-export-a-list-of-glued-shape-pairs-to-a-json-file-for-analysis.cs) | `Diagram`, `Pages`, `Shapes` | Write a script to export a list of glued shape pairs to a json file for analysis |
## Command Reference
```bash
# Build the warmup project
cd compiler/CSharpRunner/_warmup
dotnet build
# Run a specific example (copy .cs content to Program.cs first)
dotnet run
# Build with verbose output
dotnet build --verbosity detailed
```
### .csproj Template
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<NoWarn>MSB3277</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="Aspose.Diagram">
<HintPath>..\..\libs\Aspose.Diagram.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
```
## Testing Guide
### Build Verification
```bash
dotnet build # Must exit with rc=0, zero compiler errors
```
### Run Verification
```bash
dotnet run # rc=0 = pass, rc!=0 with unhandled exception = fail
```
### Expected Output Patterns
| Pattern | Meaning |
|---------|---------|
| `rc=0` | ✅ Pass — example compiled and ran successfully |
| `rc=1` compiler errors | ❌ Fail — CS error codes indicate API misuse |
| `rc!=0` runtime | ⚠️ Check — may be acceptable (missing input file) |
| TIMEOUT | ✅ Pass — Console.ReadLine() treated as successful completion |
### Common CS Error Codes
| Code | Meaning | Fix |
|------|---------|-----|
| CS1061 | Member does not exist | Check correct property/method name |
| CS0200 | Property is read-only | Access via .Value instead of assignment |
| CS0029 | Cannot convert type | Use correct enum type (BOOL not bool) |
| CS0117 | Name does not exist in type | Check enum member name casing |
| CS0234 | Namespace not found | Add correct using directive |
## Pipeline
| Attempt | Strategy | Trigger |
|---------|----------|---------|
| 1 | MCP direct retrieval + code assembly | Always |
| 2 | MCP retrieval with injected rules | Attempt 1 fails |
| 3 | LLM repair with compiler errors + rules | Attempt 2 fails |
Only examples that pass both `dotnet build` and `dotnet run` are committed.
## General Tips
- See [root agents.md](https://github.com/aspose-diagram/agentic-net-examples/blob/main/agents.md) for repository-wide boundaries, anti-patterns, domain knowledge, and testing guidelines
- Always check `rules/rules.json` for the latest API correction rules
- SaveFileFormat enum must always be PascalCase: `Vsdx`, `Pdf`, `Png`, `Jpeg`, `Svg`, `Html` — never ALL_CAPS
- Diagram class does NOT implement IDisposable — never use `using (Diagram ...)`
## Key API Surface
- `AddMaster`
- `AddShape`
- `ConnectShapesViaConnector`
- `Connection`
- `Diagram`
- `HTMLSaveOptions`
- `ImageSaveOptions`
- `Layout`
- `Masters`
- `Page`
- `Pages`
- `PdfSaveOptions`
- `PresetTheme`
- `PresetThemeVariant`
- `Prop`
- `SVGSaveOptions`
- `Save`
- `Shape`
- `Shapes`
- `StyleSheet`
- `StyleSheets`
- `User`
- `connection`
- `diagram`
- `master`
- `page`
- `shape`
## Real-World Use Cases
Common scenarios where **Aspose.Diagram for .NET** working with shapes capabilities are applied in production applications:
- Adding, positioning, and styling shapes dynamically from database records
- Building network topology diagrams programmatically from infrastructure data
- Generating org charts by adding and connecting shape objects from HR systems
- Automating floor plan creation by placing shape objects at calculated coordinates
## Developer Q&A
Frequently asked questions about **Working With Shapes** in **Aspose.Diagram for .NET**:
**Q: How do I get started with Working With Shapes in Aspose.Diagram for .NET?**
A: Add a reference to `Aspose.Diagram.dll` (v26.9.0), include `using Aspose.Diagram;` and `using Aspose.Diagram.Saving;`, then use `Diagram diagram = new Diagram("input.vsdx");` to load a file. All examples in this category target `net8.0`.
**Q: Why do I get CS1674 when using `using (Diagram diagram = ...)`?**
A: `Diagram` does not implement `IDisposable` in Aspose.Diagram for .NET. Remove the `using` statement and declare the variable normally: `Diagram diagram = new Diagram("input.vsdx");`
**Q: Why does my code fail with CS0117 on `SaveFileFormat.VSDX`?**
A: `SaveFileFormat` enum members use PascalCase in Aspose.Diagram for .NET. Use `SaveFileFormat.Vsdx` (not `VSDX`). The same applies to all formats: `SaveFileFormat.Pdf`, `SaveFileFormat.Png`, `SaveFileFormat.Svg`.
**Q: Why do I get CS0029 when assigning `true` to a BOOL property?**
A: Aspose.Diagram uses its own `BOOL` enumeration type, not C# `bool`. Use `BOOL.True` and `BOOL.False` instead of plain `true`/`false` for all Aspose.Diagram BOOL properties.
**Q: How do I retrieve a Shape object after calling `diagram.AddShape()`?**
A: `diagram.AddShape()` and `page.AddShape()` return a `long` shape ID, not a Shape object. Retrieve the shape using: `Shape shape = page.Shapes.GetShape(shapeId);`
**Q: How do I get the width and height of a shape?**
A: Use `shape.XForm.Width.Value` and `shape.XForm.Height.Value` — direct `shape.Width` and `shape.Height` properties do not exist in Aspose.Diagram for .NET.
## Related Categories
- [Working With Pages](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-pages) — page management and navigation
- [Working With Diagrams](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-diagrams) — diagram-level operations and structure
- [Working With Text](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-text) — text content and formatting
- [Working With Themes](https://github.com/aspose-diagram/agentic-net-examples/tree/main/working-with-themes) — preset themes and visual styles
## Category Statistics
- Total examples: 459
- Failed: 0
- Pass rate: 100.0%
## Failed Tasks
All tasks passed ✅
---
Updated: 2026-09-24 | Examples: 459 | Pass Rate: 100.0% | [↑ Root agents.md](https://github.com/aspose-diagram/agentic-net-examples/blob/main/agents.md) | [Aspose.Diagram for .NET](https://products.aspose.com/diagram/net/)
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
No one has posted yet. Be the first.

