Skip to content

Commit

Permalink
Merge pull request #326 from aspose-pdf/PDFNET_58672_Update_TOC
Browse files Browse the repository at this point in the history
Update ToC (PDFNET-58672)
  • Loading branch information
alevsh authored Nov 25, 2024
2 parents 431810f + d21718c commit 6fa174e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 52 deletions.
14 changes: 5 additions & 9 deletions net/advanced-operations/working-with-graphs/arc/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,11 @@ Aspose.PDF for .NET supports the feature to add graph objects (for example graph

Follow the steps below:

1. Create [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document) instance

1. Create [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing) with certain dimensions

1. Set [Border](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph/properties/border) for Drawing object

1. Add [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) object to paragraphs collection of page

1. Save our PDF file
1. Create [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document) instance.
1. Create [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing) with certain dimensions.
1. Set [Border](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph/properties/border) for Drawing object.
1. Add [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) object to paragraphs collection of page.
1. Save our PDF file.

The following code snippet shows how to add a [Arc](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/arc) object.

Expand Down
14 changes: 5 additions & 9 deletions net/advanced-operations/working-with-graphs/circle/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,11 @@ Like bar graphs, circle graphs can be used to display data in a number of separa

Follow the steps below:

1. Create [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document) instance

1. Create [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing) with certain dimensions

1. Set [Border](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph/properties/border) for Drawing object

1. Add [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) object to paragraphs collection of page

1. Save our PDF file
1. Create [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document) instance.
1. Create [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing) with certain dimensions.
1. Set [Border](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph/properties/border) for Drawing object.
1. Add [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) object to paragraphs collection of page.
1. Save our PDF file.

```csharp
public static void Circle()
Expand Down
14 changes: 5 additions & 9 deletions net/advanced-operations/working-with-graphs/curve/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,11 @@ In this article, we will investigate simply graph curves, and filled curves, th

Follow the steps below:

1. Create [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document) instance

1. Create [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing) with certain dimensions

1. Set [Border](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph/properties/border) for Drawing object

1. Add [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) object to paragraphs collection of page

1. Save our PDF file
1. Create [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document) instance.
1. Create [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing) with certain dimensions.
1. Set [Border](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph/properties/border) for Drawing object.
1. Add [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) object to paragraphs collection of page.
1. Save our PDF file.

```csharp
public static void ExampleCurve()
Expand Down
10 changes: 2 additions & 8 deletions net/advanced-operations/working-with-graphs/line/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,12 @@ Aspose.PDF for .NET supports the feature to add graph objects (for example graph

Follow the steps below:

1. Create a new PDF [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document)

1. Add [Page](https://reference.aspose.com/pdf/net/aspose.pdf/page) to pages collection of PDF file

1. Create a new PDF [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document).
1. Add [Page](https://reference.aspose.com/pdf/net/aspose.pdf/page) to pages collection of PDF file.
1. Create [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) instance.

1. Add Graph object to paragraphs collection of page instance.

1. Create [Rectangle](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/rectangle) instance.

1. Set line width.

1. Add [Rectangle](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/rectangle) object to shapes collection of Graph object.

1. Save your PDF file.
Expand Down
27 changes: 10 additions & 17 deletions net/advanced-operations/working-with-graphs/rectangle/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,16 @@ First, let's look at the possibility of creating a Rectangle object.

Follow the steps below:

1. Create a new PDF [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document)

1. Add [Page](https://reference.aspose.com/pdf/net/aspose.pdf/page) to pages collection of PDF file

1. Add [Text fragment](https://reference.aspose.com/pdf/net/aspose.pdf/texfragment) to paragraphs collection of page instance

1. Create [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) instance

1. Set border for [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing)

1. Create Rectangle instance

1. Add [Rectangle](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/rectangle) object to shapes collection of Graph object

1. Add graph object to paragraphs collection of page instance

1. Add [Text fragment](https://reference.aspose.com/pdf/net/aspose.pdf/texfragment) to paragraphs collection of page instance
1. Create a new PDF [Document](https://reference.aspose.com/pdf/net/aspose.pdf/document).
1. Add [Page](https://reference.aspose.com/pdf/net/aspose.pdf/page) to pages collection of PDF file.
1. Add [Text fragment](https://reference.aspose.com/pdf/net/aspose.pdf/texfragment) to paragraphs collection of page instance.
1. Create [Graph](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/graph) instance.
1. Set border for [Drawing object](https://reference.aspose.com/pdf/net/aspose.pdf.drawing).
1. Create Rectangle instance.

1. Add [Rectangle](https://reference.aspose.com/pdf/net/aspose.pdf.drawing/rectangle) object to shapes collection of Graph object.
1. Add graph object to paragraphs collection of page instance.
1. Add [Text fragment](https://reference.aspose.com/pdf/net/aspose.pdf/texfragment) to paragraphs collection of page instance.

1. And save your PDF file

Expand Down

0 comments on commit 6fa174e

Please sign in to comment.