SPANObjectTextAttr property

  • When I set my HyperlinkTextAttr properties, my wpobjHyperlink objects render as expected in the WPRichText, however, I try the same thing with SPANObjectTextAttr properties and my wpobjSPANStyle objects don't render any differently no matter what I try. I'm trying to get my text between the wpobjSPANStyle tags to have an underline.

    What am I missing?

    Eric

    • Offizieller Beitrag

    HyperlinkTextAttr controls the text inside the <a> tags, i.e. apply an underline.

    SPANObjectTextAttr controls the <s> tag itself, not the text within since that is controlled by the span objects "style" property.