Returns a paragraph that contains the current content control.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oParagraph = oDocument.GetElement(0); oParagraph.AddText("This is a parent paragraph. "); var oInlineLvlSdt = Api.CreateInlineLvlSdt(); oInlineLvlSdt.AddText("This is an inline text content control added to the paragraph."); oParagraph.AddInlineLvlSdt(oInlineLvlSdt); var oParentParagraph = oInlineLvlSdt.GetParentParagraph(); oParentParagraph.SetBold(true); builder.SaveFile("docx", "GetParentParagraph.docx"); builder.CloseFile();