Skip to content

Commit 8127c48

Browse files
author
yevgen-nykytenko
committed
Update content 2025-09-27 18:39:23
1 parent 7dffb4c commit 8127c48

File tree

149 files changed

+1781
-190
lines changed

Some content is hidden

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

149 files changed

+1781
-190
lines changed

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.Viewer 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: "25.8"
8+
version: "25.9"
99
---
1010
## Namespaces
1111

english/net/groupdocs.viewer.fonts/_index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,23 @@ The namespace provides classes and enumerations to manage fonts used during rend
1818

1919
| Structure | Description |
2020
| --- | --- |
21-
| [UsedFontInfo](./usedfontinfo) | Represents metainfo and binary data of the one font, used in the content of the document, loaded into the [`Viewer`](../groupdocs.viewer/viewer) instance |
21+
| [FontStyles](./fontstyles) | Represents 4 possible styles of the font, used in the document: Regular, Bold, Italic, or Bold Italic |
22+
| [PdfFontInfo](./pdffontinfo) | Encapsulates metainfo and binary data of one font from the PDF document, loaded into the [`Viewer`](../groupdocs.viewer/viewer) instance. This font is used in the document content and is embedded inside the document itself or is installed in the operating system, where the GroupDocs.Viewer is running. |
23+
| [PresentationFontInfo](./presentationfontinfo) | Encapsulates metainfo and binary data of one font from the Presentation document, loaded into the [`Viewer`](../groupdocs.viewer/viewer) instance. This font is used in the document content and is embedded inside the document itself or is installed in the operating system, where the GroupDocs.Viewer is running. |
24+
| [SpreadsheetFontInfo](./spreadsheetfontinfo) | Encapsulates metainfo and binary data of one font from the Spreadsheet document, loaded into the [`Viewer`](../groupdocs.viewer/viewer) instance. Spreadsheet documents cannot have embedded fonts, so this particular font, if was returned by the [`GetAllFonts`](../groupdocs.viewer/viewer/getallfonts) method, is installed in the operating system, where the GroupDocs.Viewer is running. |
25+
| [WordProcessingFontInfo](./wordprocessingfontinfo) | Encapsulates metainfo and binary data of one font from the WordProcessing document, loaded into the [`Viewer`](../groupdocs.viewer/viewer) instance. This font is used in the document content and is embedded inside the document itself or is installed in the operating system, where the GroupDocs.Viewer is running. |
26+
| [WordProcessingSubstitutedFontInfo](./wordprocessingsubstitutedfontinfo) | Encapsulates metainfo and binary data of one font from WordProcessing document, which originally is not used in the loaded into the [`Viewer`](../groupdocs.viewer/viewer) instance document, but serves as a substitution font for those, which cannot be found on the target machine. Substituted fonts exist only for the WordProcessing formats family. |
2227
## Interfaces
2328

2429
| Interface | Description |
2530
| --- | --- |
31+
| [IFontInfo](./ifontinfo) | Common interface for all fonts, which can be extracted from all supported families of document formats: PDF, WordProcessing, Spreadsheet, and Presentation. |
2632
| [IFontSource](./ifontsource) | Marker interface for the font sources. |
2733
## Enumeration
2834

2935
| Enumeration | Description |
3036
| --- | --- |
31-
| [FontFormat](./fontformat) | Represents all font formats, which may be present in the [`UsedFontInfo`](../groupdocs.viewer.fonts/usedfontinfo) class |
32-
| [FontStyles](./fontstyles) | Represents 4 possible styles of the font, used in the document: Regular, Bold, Italic, or Bold Italic |
37+
| [FontFormat](./fontformat) | Represents all font formats, which may be present in the [`IFontInfo`](../groupdocs.viewer.fonts/ifontinfo) inheritors |
3338
| [SearchOption](./searchoption) | Specifies whether to search the current folder, or the current folder and all subfolders. |
3439

3540
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->

english/net/groupdocs.viewer.fonts/fontformat/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: FontFormat
33
second_title: GroupDocs.Viewer for .NET API Reference
4-
description: Represents all font formats which may be present in the UsedFontInfo./usedfontinfo class
4+
description: Represents all font formats which may be present in the IFontInfo./ifontinfo inheritors
55
type: docs
66
weight: 190
77
url: /net/groupdocs.viewer.fonts/fontformat/
88
---
99
## FontFormat enumeration
1010

11-
Represents all font formats, which may be present in the [`UsedFontInfo`](../usedfontinfo) class
11+
Represents all font formats, which may be present in the [`IFontInfo`](../ifontinfo) inheritors
1212

1313
```csharp
1414
public enum FontFormat : byte

english/net/groupdocs.viewer.fonts/fontstyles/_index.md

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,55 @@ type: docs
66
weight: 210
77
url: /net/groupdocs.viewer.fonts/fontstyles/
88
---
9-
## FontStyles enumeration
9+
## FontStyles structure
1010

1111
Represents 4 possible styles of the font, used in the document: Regular, Bold, Italic, or Bold Italic
1212

1313
```csharp
14-
public enum FontStyles : byte
14+
public struct FontStyles : IEquatable<FontStyles>
1515
```
1616

17-
### Values
17+
## Constructors
1818

19-
| Name | Value | Description |
20-
| --- | --- | --- |
21-
| Regular | `0` | Regular font style |
22-
| Bold | `1` | Bold font style |
23-
| Italic | `2` | Italic font style |
24-
| BoldItalic | `3` | Bold Italic font style |
19+
| Name | Description |
20+
| --- | --- |
21+
| [FontStyles](fontstyles)(boolbool) | Creates one [`FontStyles`](../fontstyles) instance from specified bold and italic flags |
22+
23+
## Properties
24+
25+
| Name | Description |
26+
| --- | --- |
27+
| [IsBold](../../groupdocs.viewer.fonts/fontstyles/isbold) { get; } | Indicates whether this [`FontStyles`](../fontstyles) instance has a **bold** flag enabled (`true`) or disabled (`false`) |
28+
| [IsItalic](../../groupdocs.viewer.fonts/fontstyles/isitalic) { get; } | Indicates whether this [`FontStyles`](../fontstyles) instance has an **italic** flag enabled (`true`) or disabled (`false`) |
29+
| [Name](../../groupdocs.viewer.fonts/fontstyles/name) { get; } | Name of this font style |
30+
31+
## Methods
32+
33+
| Name | Description |
34+
| --- | --- |
35+
| [Equals](../../groupdocs.viewer.fonts/fontstyles/equals#equals)(FontStyles) | Indicates whether this [`FontStyles`](../fontstyles) instance is equal to specified |
36+
| override [Equals](../../groupdocs.viewer.fonts/fontstyles/equals#equals_1)(object) | Indicates whether this [`FontStyles`](../fontstyles) instance is equal to specified uncasted |
37+
| override [GetHashCode](../../groupdocs.viewer.fonts/fontstyles/gethashcode)() | Returns a hash-code of this instance |
38+
| override [ToString](../../groupdocs.viewer.fonts/fontstyles/tostring)() | Returns a name of this font style, same as [`Name`](./name) |
39+
| static [TryParse](../../groupdocs.viewer.fonts/fontstyles/tryparse)(stringout FontStyles) | Tries to parse specified raw string as a font style name |
40+
| [operator +](../../groupdocs.viewer.fonts/fontstyles/op_addition) | Combines (merges) two specified font styles and produces new resultant font style, where flags are merged (union) |
41+
| [operator ==](../../groupdocs.viewer.fonts/fontstyles/op_equality) | Checks whether two [`FontStyles`](../fontstyles) values are equal |
42+
| [explicit operator](../../groupdocs.viewer.fonts/fontstyles/op_explicit) | Casts specified [`FontStyles`](../fontstyles) instance to the equivalint octet (8-bit bitfield) in [0..3] decimal range |
43+
| [operator !=](../../groupdocs.viewer.fonts/fontstyles/op_inequality) | Checks whether two [`FontStyles`](../fontstyles) values are not equal |
44+
| [operator -](../../groupdocs.viewer.fonts/fontstyles/op_subtraction) | Subtracts second (subtrahend) specified font style from the first (minuend) specified font style and produces new resultant font style, where are present only those flags from the first operand, which are not found in the second operand (difference) |
45+
46+
## Fields
47+
48+
| Name | Description |
49+
| --- | --- |
50+
| static readonly [Bold](../../groupdocs.viewer.fonts/fontstyles/bold) | Bold font style (bold only, without italic) |
51+
| static readonly [BoldItalic](../../groupdocs.viewer.fonts/fontstyles/bolditalic) | BoldItalic font style (bold and italic together) |
52+
| static readonly [Italic](../../groupdocs.viewer.fonts/fontstyles/italic) | Italic font style (italic only, without bold) |
53+
| static readonly [Regular](../../groupdocs.viewer.fonts/fontstyles/regular) | Regular font style, default value (no bold and italic) |
54+
55+
### Remarks
56+
57+
Immutable struct with convenient API and combining operations
2558

2659
### See Also
2760

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Bold
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Bold font style bold only without italic
5+
type: docs
6+
weight: 20
7+
url: /net/groupdocs.viewer.fonts/fontstyles/bold/
8+
---
9+
## FontStyles.Bold field
10+
11+
Bold font style (bold only, without italic)
12+
13+
```csharp
14+
public static readonly FontStyles Bold;
15+
```
16+
17+
### See Also
18+
19+
* struct [FontStyles](../../fontstyles)
20+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
21+
* assembly [GroupDocs.Viewer](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: BoldItalic
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: BoldItalic font style bold and italic together
5+
type: docs
6+
weight: 30
7+
url: /net/groupdocs.viewer.fonts/fontstyles/bolditalic/
8+
---
9+
## FontStyles.BoldItalic field
10+
11+
BoldItalic font style (bold and italic together)
12+
13+
```csharp
14+
public static readonly FontStyles BoldItalic;
15+
```
16+
17+
### See Also
18+
19+
* struct [FontStyles](../../fontstyles)
20+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
21+
* assembly [GroupDocs.Viewer](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Equals
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Indicates whether this FontStylesgroupdocs.viewer.fonts/fontstyles instance is equal to specified
5+
type: docs
6+
weight: 90
7+
url: /net/groupdocs.viewer.fonts/fontstyles/equals/
8+
---
9+
## Equals(FontStyles) {#equals}
10+
11+
Indicates whether this [`FontStyles`](../../fontstyles) instance is equal to specified
12+
13+
```csharp
14+
public bool Equals(FontStyles other)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| other | FontStyles | Other [`FontStyles`](../../fontstyles) instance |
20+
21+
### Return Value
22+
23+
`true` if are equal, `false` otherwise
24+
25+
### See Also
26+
27+
* struct [FontStyles](../../fontstyles)
28+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
29+
* assembly [GroupDocs.Viewer](../../../)
30+
31+
---
32+
33+
## Equals(object) {#equals_1}
34+
35+
Indicates whether this [`FontStyles`](../../fontstyles) instance is equal to specified uncasted
36+
37+
```csharp
38+
public override bool Equals(object other)
39+
```
40+
41+
| Parameter | Type | Description |
42+
| --- | --- | --- |
43+
| other | Object | Other [`FontStyles`](../../fontstyles) instance, casted to object |
44+
45+
### Return Value
46+
47+
`true` if are equal, `false` otherwise
48+
49+
### See Also
50+
51+
* struct [FontStyles](../../fontstyles)
52+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
53+
* assembly [GroupDocs.Viewer](../../../)
54+
55+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: FontStyles
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Creates one FontStylesgroupdocs.viewer.fonts/fontstyles instance from specified bold and italic flags
5+
type: docs
6+
weight: 10
7+
url: /net/groupdocs.viewer.fonts/fontstyles/fontstyles/
8+
---
9+
## FontStyles constructor
10+
11+
Creates one [`FontStyles`](../../fontstyles) instance from specified bold and italic flags
12+
13+
```csharp
14+
public FontStyles(bool isBold, bool isItalic)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| isBold | Boolean | Bold flag |
20+
| isItalic | Boolean | Italic flag |
21+
22+
### See Also
23+
24+
* struct [FontStyles](../../fontstyles)
25+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
26+
* assembly [GroupDocs.Viewer](../../../)
27+
28+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: GetHashCode
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Returns a hashcode of this instance
5+
type: docs
6+
weight: 100
7+
url: /net/groupdocs.viewer.fonts/fontstyles/gethashcode/
8+
---
9+
## FontStyles.GetHashCode method
10+
11+
Returns a hash-code of this instance
12+
13+
```csharp
14+
public override int GetHashCode()
15+
```
16+
17+
### Return Value
18+
19+
Signed integer hash-code
20+
21+
### See Also
22+
23+
* struct [FontStyles](../../fontstyles)
24+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
25+
* assembly [GroupDocs.Viewer](../../../)
26+
27+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: IsBold
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Indicates whether this FontStylesgroupdocs.viewer.fonts/fontstyles instance has a bold flag enabled true or disabled false
5+
type: docs
6+
weight: 60
7+
url: /net/groupdocs.viewer.fonts/fontstyles/isbold/
8+
---
9+
## FontStyles.IsBold property
10+
11+
Indicates whether this [`FontStyles`](../../fontstyles) instance has a **bold** flag enabled (`true`) or disabled (`false`)
12+
13+
```csharp
14+
public bool IsBold { get; }
15+
```
16+
17+
### See Also
18+
19+
* struct [FontStyles](../../fontstyles)
20+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
21+
* assembly [GroupDocs.Viewer](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->

0 commit comments

Comments
 (0)