aspose.words.markup.SmartTag class. This element specifies the presence of a smart tag around one or more inline structures (runs, images, fields,etc.) within a paragraph... def create (): doc = aw . Document () # A smart tag appears...dotted underline. smart_tag = aw . markup . SmartTag ( doc ) #...