File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed 
Document-Processing/Word/Word-Processor/blazor Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,11 @@ await documentEditor.Editor.ToggleTextAlignmentAsync(TextAlignment.Center);
6363You can define the line spacing and its type for selected paragraphs using the following sample code.
6464
6565``` csharp 
66+ //  Set line spacing type
6667await  documentEditor .Selection .ParagraphFormat .SetLineSpacingTypeAsync (LineSpacingType .AtLeast );
67- await  documentEditor .Selection .ParagraphFormat .SetLineSpacingAsync (6 );
68+ //  Set line spacing value (supports both integer and float)
69+ await  documentEditor .Selection .ParagraphFormat .SetLineSpacingAsync (6 );     //  Integer value
70+ await  documentEditor .Selection .ParagraphFormat .SetLineSpacingAsync (6 . 5 );   //  Float value
6871``` 
6972
7073## Paragraph spacing  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments