Class Banding
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
차단
범위의 행 또는 열에 적용되는 밴딩인 밴딩에 액세스하고 수정합니다. 각 밴딩은 범위와 행, 열, 머리글, 바닥글의 색상 집합으로 구성됩니다.
자세한 문서
copyTo(range)
이 밴딩을 다른 범위에 복사합니다.
매개변수
이름 | 유형 | 설명 |
range | Range | 이 밴딩을 복사할 범위입니다. |
Return
Banding
: 새 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getFirstColumnColorObject()
밴딩의 첫 번째 교차 열 색상을 반환하거나, 설정된 색상이 없으면 null
를 반환합니다.
Return
Color
: 밴딩의 첫 번째 교차 열 색상입니다. 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getFirstRowColorObject()
첫 번째 교차 행 색상을 반환합니다. 설정된 색상이 없으면 null
를 반환합니다.
Return
Color
: 밴딩의 첫 번째 교차 행 색상입니다. 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getHeaderColumnColorObject()
밴딩에 있는 첫 번째 열의 색상을 반환하거나, 설정된 색상이 없으면 null
를 반환합니다.
Return
Color
: 밴딩의 첫 번째 열 색상입니다. 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getRange()
이 밴딩의 범위를 반환합니다.
Return
Range
— 이 밴딩의 범위입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getSecondColumnColorObject()
밴딩에서 두 번째 교차 열 색상을 반환합니다. 설정된 색상이 없으면 null
를 반환합니다.
Return
Color
: 밴딩에서 두 번째 교차 열 색상입니다. 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getSecondRowColorObject()
두 번째 교차 행 색상을 반환합니다. 설정된 색상이 없으면 null
를 반환합니다.
Return
Color
: 밴딩에서 두 번째 교차 행 색상입니다. 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
remove()
밴딩을 제거합니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setFirstColumnColor(color)
교차하는 첫 번째 열 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | String | 색상을 지우는 CSS 표기법 (예: '#ffffff' 또는 'white' )이나
null 색상 코드입니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setFirstColumnColorObject(color)
밴딩의 첫 번째 교차 열 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | Color | 밴딩의 새로운 교차 열 색상을 처음 설정합니다. null 로 설정하면 색상이 지워집니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setFirstRowColor(color)
교차하는 첫 번째 행 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | String | 색상을 지우는 CSS 표기법 (예: '#ffffff' 또는 'white' )이나
null 색상 코드입니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setFirstRowColorObject(color)
밴딩의 첫 번째 교차 행 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | Color | 밴딩의 새로운 첫 번째 교차 색상입니다. null 로 설정하면 색상이 지워집니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setHeaderColumnColor(color)
헤더 열의 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | String | 색상을 지우는 CSS 표기법 (예: '#ffffff' 또는 'white' )이나
null 색상 코드입니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setHeaderColumnColorObject(color)
헤더 열의 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | Color | 새로운 헤더 열 색상입니다. null 로 설정하면 색상이 지워집니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setRange(range)
이 밴딩의 범위를 설정합니다.
매개변수
이름 | 유형 | 설명 |
range | Range | 이 밴딩의 새로운 범위입니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setSecondColumnColor(color)
교차하는 두 번째 열 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | String | 색상을 지우는 CSS 표기법 (예: '#ffffff' 또는 'white' )이나
null 색상 코드입니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setSecondColumnColorObject(color)
밴딩에서 두 번째 교차 열 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | Color | 밴딩의 새로운 두 번째 교차 열 색상은 null 으로 설정하면 색상이 지워집니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setSecondRowColor(color)
교차하는 두 번째 행 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | String | 색상을 지우는 CSS 표기법 (예: '#ffffff' 또는 'white' )이나
null 색상 코드입니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
setSecondRowColorObject(color)
밴딩에서 두 번째 교차 색상을 설정합니다.
매개변수
이름 | 유형 | 설명 |
color | Color | 밴딩의 새로운 두 번째 교차 색상은 null 로 설정하면 색상이 지워집니다. |
Return
Banding
: 체이닝을 위한 밴딩입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
지원 중단된 메서드
getFirstColumnColor()
지원 중단되었습니다. getFirstColumnColorObject()
에 의해 변경됨
교대로 표시되는 첫 번째 열 색상을 반환하거나, 설정된 색상이 없으면 null
를 반환합니다.
Return
String
: CSS 표기법 (예: '#ffffff'
또는 'white'
)의 색상 코드 또는 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getFirstRowColor()
지원 중단되었습니다. getFirstRowColorObject()
에 의해 변경됨
교대로 표시되는 첫 번째 행 색상 또는 색상이 설정되지 않은 경우 null
를 반환합니다.
Return
String
: CSS 표기법 (예: '#ffffff'
또는 'white'
)의 색상 코드 또는 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getHeaderColumnColor()
지원 중단되었습니다. getHeaderColumnColorObject()
에 의해 변경됨
헤더 열의 색상을 반환하거나, 설정된 색상이 없으면 null
를 반환합니다.
Return
String
: CSS 표기법 (예: '#ffffff'
또는 'white'
)의 색상 코드 또는 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
지원 중단되었습니다. getHeaderRowColorObject()
에 의해 변경됨
설정된 헤더가 없으면 헤더 행의 색상 또는 null
를 반환합니다.
Return
String
: CSS 표기법 (예: '#ffffff'
또는 'white'
)의 색상 코드 또는 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getSecondColumnColor()
지원 중단되었습니다. getSecondColumnColorObject()
에 의해 변경됨
교차하는 두 번째 열 색상을 반환하거나, 설정된 색상이 없으면 null
를 반환합니다.
Return
String
— 16진수 색상 또는 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
getSecondRowColor()
지원 중단되었습니다. getSecondRowColorObject()
에 의해 변경됨
교대로 표시되는 두 번째 행 색상 또는 색상이 설정되지 않은 경우 null
를 반환합니다.
Return
String
: CSS 표기법 (예: '#ffffff'
또는 'white'
)의 색상 코드 또는 색상이 설정되지 않은 경우 null
입니다.
승인
이 방법을 사용하는 스크립트에는 다음 범위 중 하나 이상을 사용하여 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2022-08-18(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]