Skip to content

Commit 1dfafce

Browse files
author
yevgen-nykytenko
committed
Update content 2025-01-30 11:46:05
1 parent f2c71b8 commit 1dfafce

286 files changed

Lines changed: 1235 additions & 295 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

english/net/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 10
55
url: /net/
66
description: GroupDocs.Conversion for .NET API References contain examples, code snippets, and API documentation. It provides namespaces, classes, interfaces, and other API details.
77
is_root: true
8-
version: "24.12"
8+
version: "25.1"
99
---
1010

1111
## Namespaces

english/net/groupdocs.conversion.contracts/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ The namespace provides members to instantiate and release output document, manag
5757
| [PsDocumentInfo](./psdocumentinfo) | Contains Ps document metadata |
5858
| [PublisherDocumentInfo](./publisherdocumentinfo) | Contains Publisher document metadata |
5959
| [RarDocumentInfo](./rardocumentinfo) | Contains Rar document metadata |
60+
| [Rectangle](./rectangle) | Represents a rectangle defined by its edges for cropping purposes. |
6061
| [SevenZipDocumentInfo](./sevenzipdocumentinfo) | Contains 7Zip document metadata |
6162
| [SpreadsheetDocumentInfo](./spreadsheetdocumentinfo) | Contains Spreadsheet document metadata |
6263
| [SvgDocumentInfo](./svgdocumentinfo) | Contains Svg document metadata |
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Rectangle
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Represents a rectangle defined by its edges for cropping purposes.
5+
type: docs
6+
weight: 520
7+
url: /net/groupdocs.conversion.contracts/rectangle/
8+
---
9+
## Rectangle class
10+
11+
Represents a rectangle defined by its edges for cropping purposes.
12+
13+
```csharp
14+
public sealed class Rectangle : ValueObject
15+
```
16+
17+
## Constructors
18+
19+
| Name | Description |
20+
| --- | --- |
21+
| [Rectangle](rectangle)(intintintint) | Initializes a new instance of the [`Rectangle`](../rectangle) struct with specified edges. |
22+
23+
## Properties
24+
25+
| Name | Description |
26+
| --- | --- |
27+
| [Bottom](../../groupdocs.conversion.contracts/rectangle/bottom) { get; } | Gets the bottom edge of the rectangle. |
28+
| [Height](../../groupdocs.conversion.contracts/rectangle/height) { get; } | Gets the height of the rectangle based on top and bottom edges. |
29+
| [Left](../../groupdocs.conversion.contracts/rectangle/left) { get; } | Gets the left edge of the rectangle. |
30+
| [Right](../../groupdocs.conversion.contracts/rectangle/right) { get; } | Gets the right edge of the rectangle. |
31+
| [Top](../../groupdocs.conversion.contracts/rectangle/top) { get; } | Gets the top edge of the rectangle. |
32+
| [Width](../../groupdocs.conversion.contracts/rectangle/width) { get; } | Gets the width of the rectangle based on left and right edges. |
33+
34+
## Methods
35+
36+
| Name | Description |
37+
| --- | --- |
38+
| [Crop](../../groupdocs.conversion.contracts/rectangle/crop)(intintintint) | Creates a cropped version of the current rectangle by removing specified margins. |
39+
| override [Equals](../../groupdocs.conversion.contracts/valueobject/equals)(object) | Determines whether two object instances are equal. |
40+
| virtual [Equals](../../groupdocs.conversion.contracts/valueobject/equals)(ValueObject) | Determines whether two object instances are equal. |
41+
| override [GetHashCode](../../groupdocs.conversion.contracts/valueobject/gethashcode)() | Serves as the default hash function. |
42+
| override [ToString](../../groupdocs.conversion.contracts/rectangle/tostring)() | Returns a string representation of the rectangle. |
43+
44+
### See Also
45+
46+
* class [ValueObject](../valueobject)
47+
* namespace [GroupDocs.Conversion.Contracts](../../groupdocs.conversion.contracts)
48+
* assembly [GroupDocs.Conversion](../../)
49+
50+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Bottom
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Gets the bottom edge of the rectangle.
5+
type: docs
6+
weight: 20
7+
url: /net/groupdocs.conversion.contracts/rectangle/bottom/
8+
---
9+
## Rectangle.Bottom property
10+
11+
Gets the bottom edge of the rectangle.
12+
13+
```csharp
14+
public int Bottom { get; }
15+
```
16+
17+
### See Also
18+
19+
* class [Rectangle](../../rectangle)
20+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
21+
* assembly [GroupDocs.Conversion](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Crop
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Creates a cropped version of the current rectangle by removing specified margins.
5+
type: docs
6+
weight: 80
7+
url: /net/groupdocs.conversion.contracts/rectangle/crop/
8+
---
9+
## Rectangle.Crop method
10+
11+
Creates a cropped version of the current rectangle by removing specified margins.
12+
13+
```csharp
14+
public Rectangle Crop(int cropLeft, int cropTop, int cropRight, int cropBottom)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| cropLeft | Int32 | The number of pixels to remove from the left side. |
20+
| cropTop | Int32 | The number of pixels to remove from the top side. |
21+
| cropRight | Int32 | The number of pixels to remove from the right side. |
22+
| cropBottom | Int32 | The number of pixels to remove from the bottom side. |
23+
24+
### Return Value
25+
26+
A new cropped rectangle.
27+
28+
### See Also
29+
30+
* class [Rectangle](../../rectangle)
31+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
32+
* assembly [GroupDocs.Conversion](../../../)
33+
34+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Height
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Gets the height of the rectangle based on top and bottom edges.
5+
type: docs
6+
weight: 30
7+
url: /net/groupdocs.conversion.contracts/rectangle/height/
8+
---
9+
## Rectangle.Height property
10+
11+
Gets the height of the rectangle based on top and bottom edges.
12+
13+
```csharp
14+
public int Height { get; }
15+
```
16+
17+
### See Also
18+
19+
* class [Rectangle](../../rectangle)
20+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
21+
* assembly [GroupDocs.Conversion](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Left
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Gets the left edge of the rectangle.
5+
type: docs
6+
weight: 40
7+
url: /net/groupdocs.conversion.contracts/rectangle/left/
8+
---
9+
## Rectangle.Left property
10+
11+
Gets the left edge of the rectangle.
12+
13+
```csharp
14+
public int Left { get; }
15+
```
16+
17+
### See Also
18+
19+
* class [Rectangle](../../rectangle)
20+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
21+
* assembly [GroupDocs.Conversion](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Rectangle
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Initializes a new instance of the Rectanglegroupdocs.conversion.contracts/rectangle struct with specified edges.
5+
type: docs
6+
weight: 10
7+
url: /net/groupdocs.conversion.contracts/rectangle/rectangle/
8+
---
9+
## Rectangle constructor
10+
11+
Initializes a new instance of the [`Rectangle`](../../rectangle) struct with specified edges.
12+
13+
```csharp
14+
public Rectangle(int left, int top, int right, int bottom)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| left | Int32 | The left edge of the rectangle. |
20+
| top | Int32 | The top edge of the rectangle. |
21+
| right | Int32 | The right edge of the rectangle. |
22+
| bottom | Int32 | The bottom edge of the rectangle. |
23+
24+
### See Also
25+
26+
* class [Rectangle](../../rectangle)
27+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
28+
* assembly [GroupDocs.Conversion](../../../)
29+
30+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Right
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Gets the right edge of the rectangle.
5+
type: docs
6+
weight: 50
7+
url: /net/groupdocs.conversion.contracts/rectangle/right/
8+
---
9+
## Rectangle.Right property
10+
11+
Gets the right edge of the rectangle.
12+
13+
```csharp
14+
public int Right { get; }
15+
```
16+
17+
### See Also
18+
19+
* class [Rectangle](../../rectangle)
20+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
21+
* assembly [GroupDocs.Conversion](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Top
3+
second_title: GroupDocs.Conversion for .NET API Reference
4+
description: Gets the top edge of the rectangle.
5+
type: docs
6+
weight: 60
7+
url: /net/groupdocs.conversion.contracts/rectangle/top/
8+
---
9+
## Rectangle.Top property
10+
11+
Gets the top edge of the rectangle.
12+
13+
```csharp
14+
public int Top { get; }
15+
```
16+
17+
### See Also
18+
19+
* class [Rectangle](../../rectangle)
20+
* namespace [GroupDocs.Conversion.Contracts](../../../groupdocs.conversion.contracts)
21+
* assembly [GroupDocs.Conversion](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.conversion.dll -->

0 commit comments

Comments
 (0)