Returns the image URL of the watermark in the document.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); oDocument.InsertWatermark("Watermark"); var oSettings = oDocument.GetWatermarkSettings(); oSettings.SetType("image"); oSettings.SetImageURL("https://api.onlyoffice.com/content/img/docbuilder/examples/onlyoffice_logo.png"); oSettings.SetImageSize(100 * 36000, 100 * 36000); oDocument.SetWatermarkSettings(oSettings); var sImage = oSettings.GetImageURL(); var oParagraph = oDocument.GetElement(0); oParagraph.AddText("Watermark image URL: "+ sImage); builder.SaveFile("docx", "GetImageURL.docx"); builder.CloseFile();