How to Enable Resize Text in ASP.NET MVC PDF Viewer

14 Aug 20261 minute to read

To enable the resizer for the text markup annotation in Syncfusion PDF viewer, you can use the enableTextMarkupResizer property. The default value of the property is false.

Here is an example of how you can enable the resizer for the text markup annotation:

<div id="e-pv-e-sign-pdfViewer-div">
    @Html.EJS().PdfViewer("pdfviewer").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").EnableTextMarkupResizer(true).Render()
</div>
<div id="e-pv-e-sign-pdfViewer-div">
    @Html.EJS().PdfViewer("pdfviewer").ServiceUrl(VirtualPathUtility.ToAbsolute("~/PdfViewer/")).DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").EnableTextMarkupResizer(true).Render()
</div>