Returns a type of the ApiWatermarkSettings class.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); oDocument.InsertWatermark("Watermark", true); var oSettings = oDocument.GetWatermarkSettings(); oSettings.SetText("ONLYOFFICE"); oDocument.SetWatermarkSettings(oSettings); var sType = oSettings.GetClassType(); var oParagraph = oDocument.GetElement(0); oParagraph.AddText("Class type: " + sType); builder.SaveFile("docx", "GetClassType.docx"); builder.CloseFile();