Syncfusion.XlsIO.Base
Example 


JustifyLast Property

For far east languages. Supported only for format. Always 0 for US.
Syntax
'Declaration
 
Property JustifyLast As Boolean
'Usage
 
Dim instance As IExtendedFormat
Dim value As Boolean
 
instance.JustifyLast = value
 
value = instance.JustifyLast
bool JustifyLast {get; set;}
Example
The following code illustrates how to set JustifyLast property.
using Syncfusion.XlsIO;
            
class Program
{
    static void Main()
    {
        using (ExcelEngine excelEngine = new ExcelEngine())
        {
            //Create worksheet
            IApplication application = excelEngine.Excel;
            application.DefaultVersion = ExcelVersion.Excel2013;
            IWorkbook workbook = application.Workbooks.Create(1);
            IWorksheet worksheet = workbook.Worksheets[0];
            
            //Set style
            IStyle style = worksheet["C2"].CellStyle;
            
            //Set justify last
            style.JustifyLast = true;
            
            //Get extended format
            IExtendedFormat format = worksheet["E2"].CellStyle;
            
            //Set justify last
            format.JustifyLast = true;
            
            //Save and Dispose
            workbook.SaveAs("CellFormats.xlsx");
            workbook.Close();
        }
    }
}
AssemblyVersion

Syncfusion.XlsIO.Base: 17.1460.0.32

See Also