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

combit.ListLabel24.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:


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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also


Paragraph Class
Paragraph Members