Excel 2013 ignoring line transparency for shape -
i building application in excel 2013 draws graphs , fills area under graph using addpolyline create shapes. color these shapes using rgb and transparency.
everything working fine except excel ignores transparency factor line.
myshape.fill.forecolor.rgb = rgb(r, g, b) myshape.fill.transparency = t myshape.line.forecolor.rgb = rgb(r, g, b) myshape.line.transparency = t currently having reside backup solution make line invisible using:
myshape.line.visible = false however, leaves little white markers between shapes should otherwise aligned.
i have tried things making line weight small etc.
can else confirm behavior bug, or point out doing wrong?
edit:
attached screenshot of issue.

make sure dealing not border true line. check on lineformat properties.
for line, lineformat object contains formatting information line itself; shape border, object contains formatting information shape's border.
try myshape.line.visible = msofalse
not forget transparency property lineformat object infact refers specified fill of shape.
you may record macro while following this tutorial check exact properties of polylines.
on note, why don't make line colour same shape colour? in case, there wouldn't different between line , shape. depends on usage , intention.
few references consider regarding buggy & awakward shape, line properties.
Comments
Post a Comment