←Select platform

TextWrap Enumeration

Summary

Defines the text wrapping behavior for cells within an Excel sheet.

Syntax

C#
C++/CLI
Python
public enum TextWrap 
public: 
   enum class TextWrap sealed 
class TextWrap(Enum): 
   Auto = 0 
   Overflow = 1 
   Wrap = 2 
   Clip = 3 

Members
Value Name Description
0 Auto Text wrapping is automatically determined based on the cell's content and width. Text may overflow into adjacent cells if they are empty.
1 Overflow Allows text to overflow into adjacent cells if it exceeds the cell width and those cells are empty. If adjacent cells contain data, the text is clipped at the cell boundary.
2 Wrap Wraps text within the cell boundaries, expanding the cell height as needed to accommodate the wrapped text.
3 Clip Clips text to the cell boundaries, hiding any content that exceeds the width of the cell without altering the cell's size.

Requirements

Target Platforms

See Also

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.