Skip to content

Commit 3f649cc

Browse files
Update file(s) "/." from "groupdocs-viewer/Groupdocs.Viewer-References"
1 parent 538b2a1 commit 3f649cc

File tree

92 files changed

+238
-134
lines changed

Some content is hidden

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

92 files changed

+238
-134
lines changed

content/sites/groupdocs/viewer/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.5"
8+
version: "25.6"
99
---
1010
## Namespaces
1111

content/sites/groupdocs/viewer/english/net/groupdocs.viewer.drawing/argb32color/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ url: /net/groupdocs.viewer.drawing/argb32color/
1111
Represents 32-bit color in ARGB format, with 8 bits per every channel (Alpha, Red, Green, Blue). Supports transparency.
1212

1313
```csharp
14-
public struct Argb32Color : IEquatable<>, IEquatable<Argb32Color>, IEquatable<Rgb24Color>
14+
public struct Argb32Color : IEquatable<>, IEquatable<Argb32Color>, IEquatable<Rgb24Color>
1515
```
1616

1717
## Properties

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ The namespace provides classes and enumerations to manage fonts used during rend
1414
| --- | --- |
1515
| [FolderFontSource](./folderfontsource) | Represents the folder that contains TrueType fonts. |
1616
| [FontSettings](./fontsettings) | Provides methods for working with sources to look for TrueType fonts. |
17-
| [UsedFontInfo](./usedfontinfo) | Represents info about one font (including its binary data), which is used in some document |
17+
## Structures
18+
19+
| Structure | Description |
20+
| --- | --- |
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 |
1822
## Interfaces
1923

2024
| Interface | Description |
@@ -25,6 +29,7 @@ The namespace provides classes and enumerations to manage fonts used during rend
2529
| Enumeration | Description |
2630
| --- | --- |
2731
| [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 |
2833
| [SearchOption](./searchoption) | Specifies whether to search the current folder, or the current folder and all subfolders. |
2934

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public enum FontFormat : byte
1919
| Name | Value | Description |
2020
| --- | --- | --- |
2121
| Unknown | `0` | Unknown or invalid font format |
22-
| TrueTypeFont | `1` | TrueType font format (TTF) |
23-
| OpenTypeFont | `2` | OpenType font format (OTF) |
22+
| TrueType | `1` | TrueType font format (TTF) |
23+
| OpenType | `2` | OpenType font format (OTF) |
2424
| TrueTypeCollection | `3` | TrueType Collection font format (TTC) |
2525
| EmbeddedOpenType | `4` | Embedded OpenType font format (EOT) |
2626

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: FontStyles
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Represents 4 possible styles of the font used in the document Regular Bold Italic or Bold Italic
5+
type: docs
6+
weight: 210
7+
url: /net/groupdocs.viewer.fonts/fontstyles/
8+
---
9+
## FontStyles enumeration
10+
11+
Represents 4 possible styles of the font, used in the document: Regular, Bold, Italic, or Bold Italic
12+
13+
```csharp
14+
public enum FontStyles : byte
15+
```
16+
17+
### Values
18+
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 |
25+
26+
### See Also
27+
28+
* namespace [GroupDocs.Viewer.Fonts](../../groupdocs.viewer.fonts)
29+
* assembly [GroupDocs.Viewer](../../)
30+
31+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->

content/sites/groupdocs/viewer/english/net/groupdocs.viewer.fonts/ifontsource/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: IFontSource
33
second_title: GroupDocs.Viewer for .NET API Reference
44
description: Marker interface for the font sources.
55
type: docs
6-
weight: 210
6+
weight: 220
77
url: /net/groupdocs.viewer.fonts/ifontsource/
88
---
99
## IFontSource interface

content/sites/groupdocs/viewer/english/net/groupdocs.viewer.fonts/searchoption/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SearchOption
33
second_title: GroupDocs.Viewer for .NET API Reference
44
description: Specifies whether to search the current folder or the current folder and all subfolders.
55
type: docs
6-
weight: 220
6+
weight: 230
77
url: /net/groupdocs.viewer.fonts/searchoption/
88
---
99
## SearchOption enumeration

content/sites/groupdocs/viewer/english/net/groupdocs.viewer.fonts/usedfontinfo/_index.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,40 @@
11
---
22
title: UsedFontInfo
33
second_title: GroupDocs.Viewer for .NET API Reference
4-
description: Represents info about one font including its binary data which is used in some document
4+
description: Represents metainfo and binary data of the one font used in the content of the document loaded into the Viewer../groupdocs.viewer/viewer instance
55
type: docs
6-
weight: 230
6+
weight: 240
77
url: /net/groupdocs.viewer.fonts/usedfontinfo/
88
---
9-
## UsedFontInfo class
9+
## UsedFontInfo structure
1010

11-
Represents info about one font (including its binary data), which is used in some document
11+
Represents metainfo and binary data of the one font, used in the content of the document, loaded into the [`Viewer`](../../groupdocs.viewer/viewer) instance
1212

1313
```csharp
14-
public sealed class UsedFontInfo
14+
public struct UsedFontInfo
1515
```
1616

1717
## Properties
1818

1919
| Name | Description |
2020
| --- | --- |
21-
| [Content](../../groupdocs.viewer.fonts/usedfontinfo/content) { get; } | Binary content of the font as a byte array |
22-
| [FamilyName](../../groupdocs.viewer.fonts/usedfontinfo/familyname) { get; } | Family name of the font |
23-
| [Format](../../groupdocs.viewer.fonts/usedfontinfo/format) { get; } | Returns a format of this font |
24-
| [IsEmbedded](../../groupdocs.viewer.fonts/usedfontinfo/isembedded) { get; } | Indicates whether this font is embedded in the document (`true`) or is used from the system directory (`false`) |
25-
| [Name](../../groupdocs.viewer.fonts/usedfontinfo/name) { get; } | Name of this font, never is null or empty string |
26-
| [Style](../../groupdocs.viewer.fonts/usedfontinfo/style) { get; } | Font style name |
21+
| [Charset](../../groupdocs.viewer.fonts/usedfontinfo/charset) { get; } | Character set of this font. Returns valid number only for the WordProcessing and Spreadsheet format families, for all other formats returns `0` (zero). |
22+
| [Content](../../groupdocs.viewer.fonts/usedfontinfo/content) { get; } | Content of this font as a byte array. If there is only metainfo about this font, but its binary content is unavailable, this property returns `null`. |
23+
| [Format](../../groupdocs.viewer.fonts/usedfontinfo/format) { get; } | Format of this font. Documents may use fonts in the next formats: TrueType, TrueType Collection, OpenType, Embedded OpenType. If there is only metainfo about this font, but its binary content is unavailable, this property returns an Unknown value. |
24+
| [IsEmbedded](../../groupdocs.viewer.fonts/usedfontinfo/isembedded) { get; } | Indicates whether this font is embedded inside the document, loaded into the [`Viewer`](../../groupdocs.viewer/viewer) instance (`true`), or it is a system font (`false`). Spreadsheet documents cannot hold embedded fonts, so for them this property always returns `false`. |
25+
| [Name](../../groupdocs.viewer.fonts/usedfontinfo/name) { get; } | Name of the font, without style, never is null or empty string |
26+
| [Style](../../groupdocs.viewer.fonts/usedfontinfo/style) { get; } | Style of the fontmay be Regular, Bold, Italic, or Bold Italic. For the PDF documents may be only Regular style. |
27+
28+
## Methods
29+
30+
| Name | Description |
31+
| --- | --- |
32+
| [SerializeToCss](../../groupdocs.viewer.fonts/usedfontinfo/serializetocss)(TextWriter) | Serializes this font info as a @font-face at-rule and writes it to the specified text writer |
33+
| override [ToString](../../groupdocs.viewer.fonts/usedfontinfo/tostring)() | Returns a debug info about this font data as the next template: "name style, embedded/system, format" |
2734

2835
### Remarks
2936

30-
For details, see the [documentation](https://docs.groupdocs.com/viewer/net/getting-used-fonts/).
37+
Immutable struct. Its instances are produced and returned by the GroupDocs.Viewer public API and normally should not be created by the user. For details, see the [documentation](https://docs.groupdocs.com/viewer/net/getting-used-fonts/).
3138
3239
### See Also
3340

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Charset
3+
second_title: GroupDocs.Viewer for .NET API Reference
4+
description: Character set of this font. Returns valid number only for the WordProcessing and Spreadsheet format families for all other formats returns 0 zero.
5+
type: docs
6+
weight: 10
7+
url: /net/groupdocs.viewer.fonts/usedfontinfo/charset/
8+
---
9+
## UsedFontInfo.Charset property
10+
11+
Character set of this font. Returns valid number only for the WordProcessing and Spreadsheet format families, for all other formats returns `0` (zero).
12+
13+
```csharp
14+
public int Charset { get; }
15+
```
16+
17+
### See Also
18+
19+
* struct [UsedFontInfo](../../usedfontinfo)
20+
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
21+
* assembly [GroupDocs.Viewer](../../../)
22+
23+
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->

content/sites/groupdocs/viewer/english/net/groupdocs.viewer.fonts/usedfontinfo/content/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
title: Content
33
second_title: GroupDocs.Viewer for .NET API Reference
4-
description: Binary content of the font as a byte array
4+
description: Content of this font as a byte array. If there is only metainfo about this font but its binary content is unavailable this property returns null.
55
type: docs
6-
weight: 10
6+
weight: 20
77
url: /net/groupdocs.viewer.fonts/usedfontinfo/content/
88
---
99
## UsedFontInfo.Content property
1010

11-
Binary content of the font as a byte array
11+
Content of this font as a byte array. If there is only metainfo about this font, but its binary content is unavailable, this property returns `null`.
1212

1313
```csharp
1414
public byte[] Content { get; }
1515
```
1616

1717
### See Also
1818

19-
* class [UsedFontInfo](../../usedfontinfo)
19+
* struct [UsedFontInfo](../../usedfontinfo)
2020
* namespace [GroupDocs.Viewer.Fonts](../../../groupdocs.viewer.fonts)
2121
* assembly [GroupDocs.Viewer](../../../)
2222

0 commit comments

Comments
 (0)