PdfStringFormat
MeasureTrailingSpaces Property
|
Includes the trailing space at the end of each line.
By default the boundary rectangle returned by the MeasureString method of PdfFont excludes the space at the end of each line.
Set this flag to include that space in measurement.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public bool MeasureTrailingSpaces { get; set; }
Public Property MeasureTrailingSpaces As Boolean
Get
Set
public:
property bool MeasureTrailingSpaces {
bool get ();
void set (bool value);
}
member MeasureTrailingSpaces : bool with get, set
Property Value
Type:
Boolean
true
if [measure trailing spaces]; otherwise,
false
.
See Also