Browse Source

API renaming

Marcin Ziąbek 1 year ago
parent
commit
e07086871b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/QuestPDF/Fluent/TextExtensions.cs

+ 1 - 1
Source/QuestPDF/Fluent/TextExtensions.cs

@@ -143,7 +143,7 @@ namespace QuestPDF.Fluent
         /// <summary>
         /// <summary>
         /// Sets the maximum number of lines to display. 
         /// Sets the maximum number of lines to display. 
         /// </summary>
         /// </summary>
-        public void LineClamp(int maxLines)
+        public void ClampLines(int maxLines)
         {
         {
             TextBlock.LineClamp = maxLines;
             TextBlock.LineClamp = maxLines;
         }
         }