PdfSaveOptionsEscapeUri Property |
Namespace: Aspose.Words.Saving
The default value is true.
DocumentBuilder builder = new DocumentBuilder(); builder.InsertHyperlink("Testlink", uri, false); // Set this property to false if you are sure that hyperlinks in document's model are already escaped PdfSaveOptions options = new PdfSaveOptions(); options.EscapeUri = isEscaped; options.OpenHyperlinksInNewWindow = true; builder.Document.Save(ArtifactsDir + "PdfSaveOptions.EscapedUri.pdf", options);