Skip to main content
Inspiring
December 2, 2022
Question

Table Cell Diagonal

How to add a diagnonal line inside cells of table using sdk functions.

I tried some ways but it works for only diagonal size and colour inside cell properties...but diagonal is not yet coming.

//this is not right may be..not working

ITableLineType::SType lineType = ITableLineType::SType(kSolidPathStrokerBoss, kInvalidUID);  InterfacePtr<ITableLineType> AttrCellDiagnol(CreateObject2<ITableLineType>(kDiagnolCellAdornerBoss));

 

//this is added for diagonal size(weight) and  it works

        InterfacePtr<ITableAttrRealNumber> AttrCellDiagnolWeight(CreateObject2<ITableAttrRealNumber>(kCellAttrDiagnolWeightBoss));

         AttrCellDiagnolWeight->Set(1);

     

This topic is closed to new replies. Start a new post to keep the conversation going.