Suppress uitable cell borders
42 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
dpb
2025 年 2 月 15 日 15:59
No. The only user-settable style properies are those accessible via uistyle which does not include a borders property. Could be an enhancement request, but nota bene that Excel has a bunch of options for borders, not just a single 'on','off' toggle that can get quite complicated in practice.
2 件のコメント
dpb
2025 年 2 月 18 日 18:45
編集済み: dpb
2025 年 2 月 18 日 19:03
I have a couple of apps that prettify some spreadsheets; while doing so I built some of the Excel parameters as classes for being able to document code and quit having to look them up all the time...the border-related ones I've done so far are--
>> type XlBordersIndex.m
classdef XlBordersIndex
properties (Constant)
xlLeft = 7
xlRight = 10
xlTop = 8
xlBottom = 9
xlDiagonalDown = 5
xlDiagonalUp = 6
xlEdgeLeft = 7
xlEdgeTop = 8
xlEdgeBottom = 9
xlEdgeRight = 10
xlInsideVertical = 11
xlInsideHorizontal= 12
end
end
>> type XlBorderWeight.m
classdef XlBorderWeight
properties (Constant)
xlHairline = 1 % Hairline (thinnest border).
xlMedium =-4138 % Medium.
xlThick = 4 % Thick (widest border).
xlThin = 2 % Thin.
end
end
>>
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!