From efb5a5813444cd4fe164e5cb590a7836dac36494 Mon Sep 17 00:00:00 2001 From: yevgen-nykytenko Date: Wed, 31 Jan 2024 10:38:33 -0600 Subject: [PATCH] Update content 2024-01-31 10:38:33 --- .../pdfviewoptions/imagemaxwidth/_index.md | 2 +- .../pdfviewoptions/imagewidth/_index.md | 2 +- .../wordprocessingoptions/_index.md | 1 + .../unlinktableofcontents/_index.md | 29 +++++++++++++++++++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 english/net/groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents/_index.md diff --git a/english/net/groupdocs.viewer.options/pdfviewoptions/imagemaxwidth/_index.md b/english/net/groupdocs.viewer.options/pdfviewoptions/imagemaxwidth/_index.md index 91400868f..b21a81015 100644 --- a/english/net/groupdocs.viewer.options/pdfviewoptions/imagemaxwidth/_index.md +++ b/english/net/groupdocs.viewer.options/pdfviewoptions/imagemaxwidth/_index.md @@ -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. diff --git a/english/net/groupdocs.viewer.options/pdfviewoptions/imagewidth/_index.md b/english/net/groupdocs.viewer.options/pdfviewoptions/imagewidth/_index.md index 55a293e85..5e258377b 100644 --- a/english/net/groupdocs.viewer.options/pdfviewoptions/imagewidth/_index.md +++ b/english/net/groupdocs.viewer.options/pdfviewoptions/imagewidth/_index.md @@ -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. diff --git a/english/net/groupdocs.viewer.options/wordprocessingoptions/_index.md b/english/net/groupdocs.viewer.options/wordprocessingoptions/_index.md index e7997e938..1f11431d7 100644 --- a/english/net/groupdocs.viewer.options/wordprocessingoptions/_index.md +++ b/english/net/groupdocs.viewer.options/wordprocessingoptions/_index.md @@ -31,6 +31,7 @@ public class WordProcessingOptions | [RenderTrackedChanges](../../groupdocs.viewer.options/wordprocessingoptions/rendertrackedchanges) { get; set; } | Enables tracked changes (revisions) rendering. | | [RightMargin](../../groupdocs.viewer.options/wordprocessingoptions/rightmargin) { get; set; } | Sets the right margin of a page. | | [TopMargin](../../groupdocs.viewer.options/wordprocessingoptions/topmargin) { get; set; } | Sets the top margin of a page. | +| [UnlinkTableOfContents](../../groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents) { get; set; } | 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 diff --git a/english/net/groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents/_index.md b/english/net/groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents/_index.md new file mode 100644 index 000000000..25faf6e8c --- /dev/null +++ b/english/net/groupdocs.viewer.options/wordprocessingoptions/unlinktableofcontents/_index.md @@ -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](../../../) + +