| function TruncateText(Value: String; Width: Double): String; |
| This property calculates the width of the string "Value" using the current font. If the text is wider than the Width parameter then it will be truncated by characters to fit. |
| RvNDRWriter1.SetFont( 'Arial', 14 ); |
| TruncateText('This text is too long to fit within 2 inches', 2.0); |
| RvNDRWriter1->SetFont( "Arial", 14 ); |
| TruncateText("This text is too long to fit within 2 inches", 2.0);
|
|