Cell

개요

Cell은(는) Aspose.Cells FOSS에서 TypeScript을(를) 위해 제공되는 클래스입니다.

이 클래스는 TypeScript 프로그램의 Cell 객체를 위해 8개의 메서드를 선언합니다. 사용 가능한 메서드에는 constructor, putValue, setFormula, setHyperlink, setSharedStrings, setStyle, setStyleIndex, toXml가 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: col, formula, hyperlink, ref, row, sharedStringMap 및 3개가 더 있습니다.

속성

이름유형액세스설명
sharedStringMap: Map<string, number>읽기/쓰기공유 문자열 맵을 가져오거나 설정합니다.
row``읽기행을 가져옵니다.
col``읽기열을 가져옵니다.
ref``읽기ref를 가져옵니다.
valueCellValue읽기/쓰기값을 가져옵니다.
formula`stringundefined`읽기/쓰기
style`Styleundefined`읽기/쓰기
styleIndex`numberundefined`읽기
hyperlink`stringundefined`읽기

메서드

시그니처설명
setSharedStrings(strings: string[])공유 문자열 값을 설정합니다.
constructor(row: number, col: number, value: CellValue)이 Cell 인스턴스에서 constructor(row, col, value)를 호출합니다.
putValue(value: CellValue)이 Cell 인스턴스에서 putValue(value)를 호출합니다.
setFormula(formula: string)수식 값을 설정합니다.
setStyle(style: Style)스타일 값을 설정합니다.
setStyleIndex(index: number)스타일 인덱스 값을 설정합니다.
setHyperlink(url: string)하이퍼링크 값을 설정합니다.
toXml() → string이 Cell 인스턴스에서 toXml을 호출합니다.

참조

 한국어