-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yevgen-nykytenko
committed
Nov 3, 2023
1 parent
e4a153b
commit 948ca7d
Showing
15 changed files
with
121 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...t/groupdocs.viewer.options/pdfoptions/disablefontlicenseverifications/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: DisableFontLicenseVerifications | ||
second_title: GroupDocs.Viewer for .NET API Reference | ||
description: Disable any license restrictions for all fonts in current XPS/OXPS document | ||
type: docs | ||
weight: 30 | ||
url: /net/groupdocs.viewer.options/pdfoptions/disablefontlicenseverifications/ | ||
--- | ||
## PdfOptions.DisableFontLicenseVerifications property | ||
|
||
Disable any license restrictions for all fonts in current XPS/OXPS document | ||
|
||
```csharp | ||
public bool DisableFontLicenseVerifications { get; set; } | ||
``` | ||
|
||
### Remarks | ||
|
||
Many operations with font can’t be executed if these operations are prohibited by license of this font. For example some font can’t be embedded into PDF document if license rules disable embedding for this font. Be careful when using this flag. When it is set it means that person who sets this flag, takes all responsibility of possible license/law violations on himself. So He takes it on it’s own risk. It’s strongly recommended to use this flag only when you are fully confident that you are not breaking the copyright law. By default false. | ||
|
||
### Examples | ||
|
||
The example demonstrates a typical usage of this option. | ||
|
||
```csharp | ||
using (Viewer viewer = new Viewer("resume.oxps")) | ||
{ | ||
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources("result.html"); | ||
options.PdfOptions.DisableFontLicenseVerifications = true; | ||
viewer.View(options); | ||
} | ||
``` | ||
|
||
### See Also | ||
|
||
* class [PdfOptions](../../pdfoptions) | ||
* namespace [GroupDocs.Viewer.Options](../../pdfoptions) | ||
* assembly [GroupDocs.Viewer](../../../) | ||
|
||
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.Viewer.dll --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
english/net/groupdocs.viewer.options/pdfoptions/wrapimagesinsvg/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: WrapImagesInSvg | ||
second_title: GroupDocs.Viewer for .NET API Reference | ||
description: Enable this option to wrap each image in the output HTML document in SVG tag to improve output quality. | ||
type: docs | ||
weight: 100 | ||
url: /net/groupdocs.viewer.options/pdfoptions/wrapimagesinsvg/ | ||
--- | ||
## PdfOptions.WrapImagesInSvg property | ||
|
||
Enable this option to wrap each image in the output HTML document in SVG tag to improve output quality. | ||
|
||
```csharp | ||
public bool WrapImagesInSvg { get; set; } | ||
``` | ||
|
||
### Remarks | ||
|
||
This option is supported when rendering [PDF and Page Layout file formats](https://docs.groupdocs.com/viewer/net/supported-document-formats/#pdf-and-page-layout-file-formats) to HTML with embedded and external resources. | ||
|
||
By default, when rendering to PDF and Page Layout files, all the images are rendered as one PNG image. The rendered PNG image is used as the background for the output HTML document. | ||
|
||
Learn more: | ||
|
||
* [Render PDF documents as HTML and image files](https://docs.groupdocs.com/viewer/net/render-pdf-documents/) | ||
* [Render to HTML](https://docs.groupdocs.com/viewer/net/rendering-to-html/) | ||
|
||
### Examples | ||
|
||
The example demonstrates a typical usage of this option. | ||
|
||
```csharp | ||
using (Viewer viewer = new Viewer("resume.pdf")) | ||
{ | ||
HtmlViewOptions viewOptions = | ||
HtmlViewOptions.ForEmbeddedResources(); | ||
viewOptions.PdfOptions.WrapImagesInSvg = true; | ||
|
||
viewer.View(viewOptions); | ||
} | ||
``` | ||
|
||
### See Also | ||
|
||
* class [PdfOptions](../../pdfoptions) | ||
* namespace [GroupDocs.Viewer.Options](../../pdfoptions) | ||
* assembly [GroupDocs.Viewer](../../../) | ||
|
||
<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.Viewer.dll --> |