Skip to content

Commit

Permalink
Update content 2024-01-31 10:38:33
Browse files Browse the repository at this point in the history
  • Loading branch information
yevgen-nykytenko committed Jan 31, 2024
1 parent 004606e commit efb5a58
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public int ImageMaxWidth { get; set; }

### Remarks

Use this property to set the maximum output image width (in pixels). GroupDocs.Viewer applies this property when rendering a single image to HTML only. For details, see the [documentation](https://docs.groupdocs.com/viewer/net/set-image-size-limits-when-rendering-to-pdf/).
Use this property to set the maximum output image width (in pixels). GroupDocs.Viewer applies this property when rendering a single image to PDF. For details, see the [documentation](https://docs.groupdocs.com/viewer/net/set-image-size-limits-when-rendering-to-pdf/).

If you set the [`ImageWidth`](../imagewidth) property, this property is ignored.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public int ImageWidth { get; set; }

### Remarks

Use this property to set the output image width (in pixels). GroupDocs.Viewer applies this property when rendering a single image to HTML only. For details, see the [documentation](https://docs.groupdocs.com/viewer/net/set-image-size-limits-when-rendering-to-pdf/).
Use this property to set the output image width (in pixels). GroupDocs.Viewer applies this property when rendering a single image to PDF. For details, see the [documentation](https://docs.groupdocs.com/viewer/net/set-image-size-limits-when-rendering-to-pdf/).

If you set this property, the [`ImageMaxWidth`](../imagemaxwidth) property is ignored.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class WordProcessingOptions
| [RenderTrackedChanges](../../groupdocs.viewer.options/wordprocessingoptions/rendertrackedchanges) { getset; } | Enables tracked changes (revisions) rendering. |
| [RightMargin](../../groupdocs.viewer.options/wordprocessingoptions/rightmargin) { getset; } | Sets the right margin of a page. |
| [TopMargin](../../groupdocs.viewer.options/wordprocessingoptions/topmargin) { getset; } | Sets the top margin of a page. |
| [UnlinkTableOfContents](../../groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents) { getset; } | When rendering to HTML or PDF, you can set this option to `true` to disable navigation from the table of contents. For HTML rendering, `a` tags with relative links will be replaced with `span` tags, removing functionality but preserving visual appearance. For PDF rendering, the table of contents will be rendered as plain text without links to document sections. |

### See Also

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: UnlinkTableOfContents
second_title: GroupDocs.Viewer for .NET API Reference
description: When rendering to HTML or PDF you can set this option to true to disable navigation from the table of contents. For HTML rendering a tags with relative links will be replaced with span tags removing functionality but preserving visual appearance. For PDF rendering the table of contents will be rendered as plain text without links to document sections.
type: docs
weight: 90
url: /net/groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents/
---
## WordProcessingOptions.UnlinkTableOfContents property

When rendering to HTML or PDF, you can set this option to `true` to disable navigation from the table of contents. For HTML rendering, `a` tags with relative links will be replaced with `span` tags, removing functionality but preserving visual appearance. For PDF rendering, the table of contents will be rendered as plain text without links to document sections.

```csharp
public bool UnlinkTableOfContents { get; set; }
```

### Remarks

Default value is `false`.

For details, see the [documentation](https://docs.groupdocs.com/viewer/net/render-word-documents/#unlink-table-of-contents).

### See Also

* class [WordProcessingOptions](../../wordprocessingoptions)
* namespace [GroupDocs.Viewer.Options](../../wordprocessingoptions)
* assembly [GroupDocs.Viewer](../../../)

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

0 comments on commit efb5a58

Please sign in to comment.