Returns a type of the ApiRun class.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oParagraph = oDocument.GetElement(0); var oRun = Api.CreateRun(); oRun.AddText("This is just a sample text. Nothing special."); oParagraph.AddElement(oRun); var sClassType = oRun.GetClassType(); oParagraph = Api.CreateParagraph(); oParagraph.AddText("Class Type = " + sClassType); oDocument.Push(oParagraph); builder.SaveFile("docx", "GetClassType.docx"); builder.CloseFile();