Forums     Knowledge Base     OfficeWriter Online     
 
This documentation is for
OfficeWriter v3.0.4
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > Style > WrapText

WrapText Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns if text that is larger than the width of the cell will be wrapped, increasing the height of a cell.

WrapText is a read / write property.



Examples:

[csharp]
// Get WrapText
bool wrap = styl.WrapText;

// Set WrapText
styl.WrapText = true;
[vbnet]
' Get WrapText
Dim wrap As Boolean = styl.WrapText

' Set WrapText
styl.WrapText = True


Getter

Signature:

public boolean WrapText

Returns:

boolean true, if text will be wrapped in cells with the specified style.

Setter

Signature:

public void WrapText boolean wrapText

Type:

boolean



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.