combit List & Label 25 - .NET Online Web Help
OptimizeSpaces Property (TableFieldText)

combit.ListLabel25.Dom Namespace > TableFieldText Class : OptimizeSpaces Property

Gets or sets if undesired spaces (leading, enclosed and remaining) are to be optimized. Imagine that you wish to print a label project using the following variables which are to be separated with a space:


If there is a record in which no title exists, this variable would remain empty but the following space would be printed. First name and Last name appear with a leading space. If, for example, the variable “Firstname” was empty, there would be two spaces between “Title” and “Lastname” (enclosed spaces). If all three variables were empty, both spaces would remain (remaining spaces). This line is then not empty and would not be automatically ignored. In these cases, this property assists in the automatic removal of leading, enclosed and remaining spaces. Multiple enclosed spaces will be automatically reduced to one space.

Public Property OptimizeSpaces As String
public string OptimizeSpaces {get; set;}
property String^ OptimizeSpaces {
   String^ get();
   void set (    String^ value);

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also


TableFieldText Class
TableFieldText Members