Returns the opacity of the watermark in the document.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); oDocument.InsertWatermark("Watermark", true); var oSettings = oDocument.GetWatermarkSettings(); var nOpacity = oSettings.GetOpacity(); var oParagraph = oDocument.GetElement(0); oParagraph.AddText("Watermark opacity: "+ nOpacity); builder.SaveFile("docx", "GetOpacity.docx"); builder.CloseFile();