Skip to main content
Inspiring
December 2, 2022
Question

Table Cell Diagonal

  • December 2, 2022
  • 0 replies
  • 212 views

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 has been closed for replies.