Skip to content

Add 78 graph handling examples to the documentation#304

Merged
fahadadeel merged 1 commit into
release/26.5.0from
examples/e9a7751e-working-with-graphs
Jun 18, 2026
Merged

Add 78 graph handling examples to the documentation#304
fahadadeel merged 1 commit into
release/26.5.0from
examples/e9a7751e-working-with-graphs

Conversation

@agent-aspose-pdf-examples

Copy link
Copy Markdown
Collaborator

working-with-graphs

78 code example(s) for the working-with-graphs category.
Target: Aspose.PDF for .NET 26.5.0

Examples

# Example Difficulty
1 Add Filled Arc Graph to PDF intermediate
2 Add Unfilled Arc with Line Width and Dash Style intermediate
3 Insert Circle with Gradient Fill into PDF Graph intermediate
4 Add Filled Circle to PDF with Aspose.Pdf Graph intermediate
5 Create Bezier Curve in PDF Graph with Stroke Color intermediate
6 Add Filled Curve to PDF with Opacity and Border intermediate
7 Draw a Straight Line with Rounded Caps in a PDF Graph intermediate
8 Add Multi-Colored Line Segments to a PDF Graph intermediate
9 Insert Rounded Rectangle into PDF Graph intermediate
10 Add Filled Dashed Rectangle to PDF using Graph intermediate
11 Create Ellipse with Stroke Color in PDF intermediate
12 Add Filled Ellipse with Gradient to PDF Graph intermediate
13 Add Centered Graph to PDF Page intermediate
14 Place Graph on PDF Page Aligned to Left Margin beginner
15 Set Graph Dimensions in PDF intermediate
16 Create a Dimension Line in a PDF with Aspose.Pdf Graph intermediate
17 Create Rectangle with Specific Dimensions Inside a Graph intermediate
18 Check and Adjust Shape Bounds in a PDF intermediate
19 Iterate Graph Shapes and Log Bounding Boxes intermediate
20 Rotate Graph Element in PDF intermediate
21 Translate Rectangle in PDF Using Aspose.Pdf beginner
22 Scale Graph Non‑Uniformly in PDF intermediate
23 Skew Graph Element on X Axis in PDF beginner
24 Apply Clipping Region to a Graph intermediate
25 Create Semi-Transparent Rectangle in PDF intermediate
26 Add Shadow Effect to a Filled Rectangle in a Graph intermediate
27 Create Custom Star Shape in PDF intermediate
28 Add a Hexagon Graph with Border Styling to PDF intermediate
29 Insert Dashed Polyline Annotation into PDF intermediate
30 Add Text Inside a Graph in PDF intermediate
31 Add Background Image to PDF Page and Draw Shapes Over It intermediate
32 Insert, Scale, and Rotate Image in PDF intermediate
33 Add Filled Arc with Radial Gradient to PDF Graph intermediate
34 Create a New PDF with a Single Page beginner
35 Instantiate Graph Matching Page Dimensions intermediate
36 Add Red Filled Rectangle to PDF Using Graph intermediate
37 Apply Linear Gradient Fill to an Ellipse in a PDF Graph intermediate
38 Create Semi‑Transparent Ellipse in PDF intermediate
39 Add Centered Text Inside a Rectangle on a Graph beginner
40 Enable Bounds Check Mode for Graph Shapes in PDF intermediate
41 Catch Out-of-Bounds Shapes When Adding to a PDF Graph intermediate
42 Add Non-Overlapping Rectangles to a PDF Graph intermediate
43 Add Rectangle and Ellipse Shapes to a PDF Graph intermediate
44 Export PDF to MemoryStream and Save to Disk beginner
45 Add Graph with Shapes to Existing PDF intermediate
46 Add Gradient-Filled Ellipses to PDFs in Parallel intermediate
47 Set Graph Line Width and Dash Style for Rectangle Borders intermediate
48 Set Rectangle Fill Opacity to 50% Using ARGB Color intermediate
49 Create Sample Graph with Shapes for PDF Page beginner
50 Serialize PDF with Graph to Byte Array intermediate
... 28 more examples

Key APIs Used

Artifact, Aspose.Pdf.Annotations.Border, Aspose.Pdf.Annotations.Dash, Aspose.Pdf.Annotations.PolylineAnnotation, Aspose.Pdf.Annotations.SquareAnnotation, Aspose.Pdf.BoundsCheckMode, Aspose.Pdf.BoundsOutOfRangeException, Aspose.Pdf.Color, Aspose.Pdf.Color.FromRgb, Aspose.Pdf.Curve, Aspose.Pdf.Document, Aspose.Pdf.Document.Pages.Add, Aspose.Pdf.Document.Save, Aspose.Pdf.Drawing.Arc, Aspose.Pdf.Drawing.BorderInfo, Aspose.Pdf.Drawing.BoundsCheckMode, Aspose.Pdf.Drawing.BoundsOutOfRangeException, Aspose.Pdf.Drawing.Circle, Aspose.Pdf.Drawing.Color, Aspose.Pdf.Drawing.Color.FromArgb, Aspose.Pdf.Drawing.Curve, Aspose.Pdf.Drawing.Ellipse, Aspose.Pdf.Drawing.GradientAxialShading, Aspose.Pdf.Drawing.GradientRadialShading, Aspose.Pdf.Drawing.Graph, Aspose.Pdf.Drawing.Graph.Shapes.Add, Aspose.Pdf.Drawing.Graph.Shapes.UpdateBoundsCheckMode, Aspose.Pdf.Drawing.GraphInfo, Aspose.Pdf.Drawing.HorizontalAlignment, Aspose.Pdf.Drawing.Line
(+46 more)

Tags

Aspose Aspose.Pdf C# PDF alignment alpha annotation arc artifact aspdf aspnet aspose aspose-pdf aspose.pdf background-image barchart batch-processing bezier border border-color

Difficulty Distribution

  • beginner: 8 example(s)
  • intermediate: 70 example(s)

Pipeline Stages

  • LLM Fix: 51
  • Regen with KB: 12
  • Baseline (1st try): 8
  • Final LLM Recovery: 7

Generated by Examples Generator

@fahadadeel fahadadeel merged commit c2a3097 into release/26.5.0 Jun 18, 2026
1 check passed
@fahadadeel fahadadeel deleted the examples/e9a7751e-working-with-graphs branch June 18, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants