Class Banding

밴딩

범위의 행 또는 열에 적용된 색상 패턴인 밴딩에 액세스하고 수정합니다. 각 밴딩은 행, 열, 헤더, 바닥글의 범위와 색상 집합으로 구성됩니다.

메서드

메서드반환 유형간략한 설명
copyTo(range)Banding이 밴딩을 다른 범위에 복사합니다.
getFirstColumnColorObject()Color밴딩의 첫 번째 교체 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getFirstRowColorObject()Color첫 번째 교체 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getFooterColumnColorObject()Color밴딩의 마지막 열의 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getFooterRowColorObject()Color밴딩의 마지막 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getHeaderColumnColorObject()Color밴딩의 첫 번째 열의 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getHeaderRowColorObject()Color헤더 행의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.
getRange()Range이 밴딩의 범위를 반환합니다.
getSecondColumnColorObject()Color밴딩의 두 번째 교체 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getSecondRowColorObject()Color두 번째 교체 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
remove()void이 밴딩을 제거합니다.
setFirstColumnColor(color)Banding번갈아 표시되는 첫 번째 열 색상을 설정합니다.
setFirstColumnColorObject(color)Banding밴딩의 첫 번째 교차 열 색상을 설정합니다.
setFirstRowColor(color)Banding번갈아 표시되는 첫 번째 행 색상을 설정합니다.
setFirstRowColorObject(color)Banding밴딩에서 첫 번째 교차 행 색상을 설정합니다.
setFooterColumnColor(color)Banding마지막 열의 색상을 설정합니다.
setFooterColumnColorObject(color)Banding밴딩의 마지막 열 색상을 설정합니다.
setFooterRowColor(color)Banding마지막 행의 색상을 설정합니다.
setFooterRowColorObject(color)Banding밴딩의 바닥글 행 색상을 설정합니다.
setHeaderColumnColor(color)Banding헤더 열의 색상을 설정합니다.
setHeaderColumnColorObject(color)Banding헤더 열의 색상을 설정합니다.
setHeaderRowColor(color)Banding헤더 행의 색상을 설정합니다.
setHeaderRowColorObject(color)Banding헤더 행의 색상을 설정합니다.
setRange(range)Banding이 밴딩의 범위를 설정합니다.
setSecondColumnColor(color)Banding교체되는 두 번째 열 색상을 설정합니다.
setSecondColumnColorObject(color)Banding밴딩에서 두 번째 교체 열 색상을 설정합니다.
setSecondRowColor(color)Banding교체되는 두 번째 행 색상을 설정합니다.
setSecondRowColorObject(color)Banding밴딩에서 두 번째 교체 색상을 설정합니다.
메서드반환 유형간략한 설명
getFirstColumnColor()String교체되는 첫 번째 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getFirstRowColor()String교체되는 첫 번째 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getFooterColumnColor()String마지막 열의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.
getFooterRowColor()String마지막 행의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.
getHeaderColumnColor()String헤더 열의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.
getHeaderRowColor()String헤더 행의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.
getSecondColumnColor()String교체되는 두 번째 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.
getSecondRowColor()String교체되는 두 번째 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

자세한 문서

copyTo(range)

이 밴딩을 다른 범위에 복사합니다.

매개변수

이름유형설명
rangeRange이 밴딩을 복사할 범위입니다.

리턴

Banding: 새 밴딩입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getFirstColumnColorObject()

밴딩의 첫 번째 교체 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 밴딩의 첫 번째 교체 열 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getFirstRowColorObject()

첫 번째 교체 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 밴딩의 첫 번째 교체 행 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getFooterColumnColorObject()

밴딩의 마지막 열의 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 밴딩의 마지막 열 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getFooterRowColorObject()

밴딩의 마지막 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 밴딩의 바닥글 행 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getHeaderColumnColorObject()

밴딩의 첫 번째 열의 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 밴딩의 첫 번째 열 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getHeaderRowColorObject()

헤더 행의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 헤더 행의 색상입니다. 색상이 설정되지 않은 경우 null을 반환합니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getRange()

이 밴딩의 범위를 반환합니다.

리턴

Range: 이 번들의 범위입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getSecondColumnColorObject()

밴딩의 두 번째 교체 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

Color: 밴딩의 두 번째 교차 열 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getSecondRowColorObject()

두 번째 교체 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

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)

번갈아 표시되는 첫 번째 열 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFirstColumnColorObject(color)

밴딩의 첫 번째 교차 열 색상을 설정합니다.

매개변수

이름유형설명
colorColor밴딩의 새로운 첫 번째 교체 열 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFirstRowColor(color)

번갈아 표시되는 첫 번째 행 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFirstRowColorObject(color)

밴딩에서 첫 번째 교차 행 색상을 설정합니다.

매개변수

이름유형설명
colorColor밴딩의 새로운 첫 번째 교체 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFooterColumnColor(color)

마지막 열의 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFooterColumnColorObject(color)

밴딩의 마지막 열 색상을 설정합니다.

매개변수

이름유형설명
colorColor밴딩의 마지막 열의 새 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFooterRowColor(color)

마지막 행의 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setFooterRowColorObject(color)

밴딩의 바닥글 행 색상을 설정합니다.

매개변수

이름유형설명
colorColor새 바닥글 행 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setHeaderColumnColor(color)

헤더 열의 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setHeaderColumnColorObject(color)

헤더 열의 색상을 설정합니다.

매개변수

이름유형설명
colorColor새 헤더 열 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setHeaderRowColor(color)

헤더 행의 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setHeaderRowColorObject(color)

헤더 행의 색상을 설정합니다.

매개변수

이름유형설명
colorColor새 헤더 행 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setRange(range)

이 밴딩의 범위를 설정합니다.

매개변수

이름유형설명
rangeRange이 밴딩의 새 범위입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setSecondColumnColor(color)

교체되는 두 번째 열 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setSecondColumnColorObject(color)

밴딩에서 두 번째 교체 열 색상을 설정합니다.

매개변수

이름유형설명
colorColor밴딩의 새로운 두 번째 교차 열 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setSecondRowColor(color)

교체되는 두 번째 행 색상을 설정합니다.

매개변수

이름유형설명
colorStringCSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상을 지우기 위한 null입니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

setSecondRowColorObject(color)

밴딩에서 두 번째 교체 색상을 설정합니다.

매개변수

이름유형설명
colorColor밴딩의 새로운 두 번째 교체 색상입니다. null로 설정하면 색상이 지워집니다.

리턴

Banding: 체이닝을 위한 이 밴딩

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단된 메서드

지원 중단되었습니다. getFirstColumnColorObject()로 대체됨

교체되는 첫 번째 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getFirstRowColorObject()로 대체됨

교체되는 첫 번째 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getFooterColumnColorObject()로 대체됨

마지막 열의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getFooterRowColorObject()로 대체됨

마지막 행의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getHeaderColumnColorObject()로 대체됨

헤더 열의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getHeaderRowColorObject()로 대체됨

헤더 행의 색상 또는 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getSecondColumnColorObject()로 대체됨

교체되는 두 번째 열 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: HEX 색상 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

지원 중단되었습니다. getSecondRowColorObject()로 대체됨

교체되는 두 번째 행 색상을 반환하거나 색상이 설정되지 않은 경우 null을 반환합니다.

리턴

String: CSS 표기법의 색상 코드 (예: '#ffffff' 또는 'white') 또는 색상이 설정되지 않은 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets