Skip to main content
dublove
Legend
July 26, 2026
Answered

Can't the four edges of the table style be controlled separately? But why are there four codes?

  • July 26, 2026
  • 1 reply
  • 50 views

I didn't understand this, what's the unique usage.
I thought it could be set separately, but always with the last one unifying all four sides.
 

tabSty.properties = {
//topBorderStrokeWeight: '0.1mm',
//leftBorderStrokeWeight: '0.2mm',
//bottomBorderStrokeWeight: '0.5mm',
rightBorderStrokeWeight: '0.5mm',
}

 

    Correct answer Peter Kahrel

    It’s an anomaly in the object model. Setting properties to either of the borders applies to all borders. 

    1 reply

    Peter Kahrel
    Community Expert
    Peter KahrelCommunity ExpertCorrect answer
    Community Expert
    July 27, 2026

    It’s an anomaly in the object model. Setting properties to either of the borders applies to all borders.