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


combit.ListLabel25.Dom Namespace > Paragraph 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:


<TITLE> <FIRSTNAME> <LASTNAME>


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.

Syntax
'Declaration
 
Public Property OptimizeSpaces As String
public string OptimizeSpaces {get; set;}
public:
property String^ OptimizeSpaces {
   String^ get();
   void set (    String^ value);
}
Requirements

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

See Also

Reference

Paragraph Class
Paragraph Members