←Select platform

GetDisplayStringValue Method

Summary

Retrieves the text representation of a cell's value as it is displayed in sheet processing applications. Useful for obtaining the formatted output of a cell, regardless of the cell's actual data type or value.

Syntax

C#
C++/CLI
Python
public string GetDisplayStringValue() 
public:  
   String^ GetDisplayStringValue() 
def GetDisplayStringValue(self): 

Return Value

A string representing the value of the cell as displayed in sheet processing applications. This includes any formatting applied to the cell.

Remarks

The GetDisplayStringValue method returns the text representation of a cell's value, including any formatting that has been applied to the cell. For instance, if a cell contains a date value with a specific date format, this method returns the date as a string formatted according to the set date format.

The method abstracts the complexity of cell formatting, providing a simple way to access the cell's content as it appears to the user in Sheet processing applications. It can handle different data types, like dates, numbers, formulas, and others.

Requirements

Target Platforms

See Also

Cell Class

Cell Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.