Enable resize in ASP.NET MVC PDF Viewer control
28 Oct 20251 minute to read
To enable the resizer for the text markup annotation in Syncfusion PDF viewer, you can use the enableTextMarkupResizer property. 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>