HotXLS 문서

LineStyle 속성

테두리의 스타일을 반환하거나 설정합니다. 읽기/쓰기 LongWord

구문

property LineStyle: LongWord;

설명

LineStyle은 다음 XlLineStyle 상수 중 하나일 수 있습니다
xlContinuous
xlDash
xlDashDot
xlDashDotDot
xlDot
xlDouble
xlSlantDashDot
xlLineStyleNone

예제

이 예제는 A1:C5 범위에 테두리를 추가합니다

Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeTop].LineStyle := xlDot;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeRight].LineStyle := xlDot;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeBottom].LineStyle := xlDot;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeLeft].LineStyle := xlDot;
이 예제는 이전 예제와 동일합니다

Workbook.Sheets[1].Range['A1', 'C5'].Borders.LineStyle := xlDot;