Skip to content

Add 72 graph-related code examples to documentation - #420

Open
agent-aspose-pdf-examples wants to merge 1 commit into
release/26.8.0from
examples/57cf5014-working-with-graphs
Open

Add 72 graph-related code examples to documentation#420
agent-aspose-pdf-examples wants to merge 1 commit into
release/26.8.0from
examples/57cf5014-working-with-graphs

Conversation

@agent-aspose-pdf-examples

Copy link
Copy Markdown
Collaborator

working-with-graphs

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

Examples

# Example Difficulty
1 Add Filled Arc to PDF Graph beginner
2 Add Unfilled Arc with Custom Stroke to PDF beginner
3 Add Filled Circle to PDF Using Aspose.Pdf Graph beginner
4 Create Bezier Curve in PDF Graph beginner
5 Add Filled Curve with Opacity and Border to PDF intermediate
6 Draw a Straight Line in a PDF Graph beginner
7 Create a Multi‑Color Line Graph in PDF intermediate
8 Add Rounded Rectangle with Fill to PDF Graph beginner
9 Add Filled Rectangle with Dashed Border to PDF Graph beginner
10 Add Ellipse to PDF Page with Specified Radii and Stroke Color beginner
11 Add Centered Graph to PDF Page beginner
12 Align Graph to Left Margin in PDF beginner
13 Set Graph Dimensions in PDF beginner
14 Create Dimension Line in PDF Graph beginner
15 Create Dimension-Specific Rectangle in PDF beginner
16 Check and Adjust Shape Bounds in a PDF intermediate
17 Iterate Graph Shapes and Log Bounding Boxes intermediate
18 Rotate a Graph in a PDF beginner
19 Translate Graph Position Horizontally and Vertically beginner
20 Non‑Uniformly Scale Graph in PDF beginner
21 Skew Graph on X Axis in PDF beginner
22 Clip Graph Shapes to a Rectangle in PDF intermediate
23 Add Semi-Transparent Rectangle via Transparency Layer intermediate
24 Add Shadow Effect to a Filled Rectangle in PDF beginner
25 Create a Custom Star Shape in a PDF using Aspose.Pdf intermediate
26 Add Regular Hexagon to PDF Graph intermediate
27 Insert Dashed Polyline Annotation into PDF intermediate
28 Add Text Inside a Graph with Custom Font and Position beginner
29 Add Background Image to PDF and Draw Graph Shapes on Top intermediate
30 Insert Scaled and Rotated Image into PDF intermediate
31 Add Filled Arc with Radial Gradient to PDF intermediate
32 Create a New PDF with a Single Page beginner
33 Add Full-Size Graph to PDF Page intermediate
34 Add Rectangle with Solid Red Fill to PDF Graph beginner
35 Create Semi-Transparent Ellipse Fill in PDF beginner
36 Insert Centered TextFragment Inside a Rectangle intermediate
37 Enable Bounds Check Mode for Graph Shape Placement intermediate
38 Add Shapes to PDF with Bounds Checking intermediate
39 Add Non-Overlapping Rectangles to a PDF Graph intermediate
40 Create Graph with Rectangle and Ellipse Shapes in PDF intermediate
41 Export PDF to MemoryStream and Save to File beginner
42 Add Graph with Shapes to a PDF Page intermediate
43 Add Graph Rectangle Watermark to PDF Pages intermediate
44 Add Gradient Ellipse Graphs to PDFs in Parallel intermediate
45 Configure Graph Border and Add Rectangle with Custom Style beginner
46 Create Reusable Graph with Shapes for PDF Pages intermediate
47 Serialize PDF with Graph to Byte Array intermediate
48 Toggle Graph Bounds Check Mode in PDF beginner
49 Create Bar Graph with Legend in PDF intermediate
50 Add Rounded Rectangle with Fill to PDF intermediate
... 22 more examples

Key APIs Used

Aspose.Pdf.Annotations.Border, Aspose.Pdf.Annotations.Dash, Aspose.Pdf.Annotations.PolylineAnnotation, Aspose.Pdf.Artifact, Aspose.Pdf.BoundsOutOfRangeException, Aspose.Pdf.Color, Aspose.Pdf.Color.FromRgb, Aspose.Pdf.Document, Aspose.Pdf.Document.FlattenTransparency, Aspose.Pdf.Document.Pages.Add, Aspose.Pdf.Document.Save, Aspose.Pdf.DocumentFactory, Aspose.Pdf.DocumentFactory.CreateDocument, 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.Curve, Aspose.Pdf.Drawing.Ellipse, 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.ImageStamp, Aspose.Pdf.Drawing.Line, Aspose.Pdf.Drawing.Path
(+22 more)

Tags

Aspose.Pdf PDF alignment alpha annotation arc aspnet aspose aspose-pdf aspose.pdf background-image barchart bars batch batch-processing bezier border border-color bounding-box bounds

Difficulty Distribution

  • beginner: 32 example(s)
  • intermediate: 40 example(s)

Pipeline Stages

  • LLM Fix: 45
  • Baseline (1st try): 18
  • Regen with KB: 7
  • Final LLM Recovery: 2

Generated by Examples Generator

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.

1 participant