Cell

개요

Cell은 Aspose.Cells FOSS for C++의 class입니다.

단일 워크시트 셀을 나타내며 value, formula, style 작업을 제공합니다.

이 class는 C++ 프로그램에서 Cell 객체를 다루기 위한 17개의 methods를 제공합니다. 사용 가능한 methods는 다음과 같습니다: GetColumn, GetDisplayStringValue, GetFormula, GetRow, GetStringValue, GetStyle, GetType, GetValue, PutValue, SetFormula, SetStyle, SetValue. Aspose.Cells FOSS for C++ 패키지를 설치한 후 모든 public members는 어떤 C++ application에서도 접근할 수 있습니다.

메서드

시그니처설명
GetRow() → int셀의 행 인덱스를 가져옵니다.
GetColumn() → int셀의 열 인덱스를 가져옵니다.
GetValue() → CellValue논리적 셀 값을 가져오거나 설정합니다.
SetValue(value: CellValue)값 value를 설정합니다.
GetStringValue() → std::string스타일 기반 표시 형식을 적용하지 않고 셀 값의 안정적인 문자열 표현을 가져옵니다.
GetDisplayStringValue() → std::string셀 값, 스타일 및 워크북 문화권을 기반으로 생성된 표시 텍스트를 가져옵니다.
GetFormula() → std::string셀 수식을 가져오거나 설정합니다.
SetFormula(value: std::string_view)수식 값을 설정합니다.
GetType() → CellValueType현재 논리 셀 값 유형을 가져옵니다.
PutValue(value: char)셀 값을 문자열로 설정합니다.
PutValue(value: std::string_view)이 Cell 인스턴스에서 PutValue를 호출합니다.
PutValue(value: int)셀 값을 정수로 설정합니다.
PutValue(value: double)셀 값을 부동 소수점 숫자로 설정합니다.
PutValue(value: bool)셀 값을 불리언으로 설정합니다.
PutValue(value: DateTime)셀 값을 DateTime 로 설정합니다.
GetStyle() → Style셀 스타일의 분리된 복사본을 가져옵니다.
SetStyle(style: Style)제공된 스타일 객체로 셀 스타일을 교체합니다.

참조

 한국어