public static WorksheetContext SetBorderRight(this WorksheetContext instance, SpreadsheetBorder border) => instance.WrapOperation(() => { instance.CurrentRange.SetBorderRight(border); });
public static WorksheetContext SetBorder(this WorksheetContext instance, SpreadsheetBorder top, SpreadsheetBorder left, SpreadsheetBorder bottom, SpreadsheetBorder right) => instance.WrapOperation(() => { instance.CurrentRange .SetBorderTop(top) .SetBorderBottom(bottom) .SetBorderLeft(left) .SetBorderRight(right); });
public static WorksheetContext SetFontBold(this WorksheetContext instance, bool isBold) => instance.WrapOperation(() => { instance.CurrentRange.SetFontBold(isBold); });
public static WorksheetContext SetVerticalAlignment(this WorksheetContext instance, SpreadsheetVerticalAlignment alignment) => instance.WrapOperation(() => { instance.CurrentRange.SetVerticalAlignment(alignment); });
public static WorksheetContext Merge(this WorksheetContext instance, bool isMerged) => instance.WrapOperation(() => { instance.CurrentRange.Merge(isMerged); });
public static WorksheetContext SetFontUnderline(this WorksheetContext instance, bool isUnderline) => instance.WrapOperation(() => { instance.CurrentRange.SetFontUnderline(isUnderline); });
public static WorksheetContext SetFontItalic(this WorksheetContext instance, bool isItalic) => instance.WrapOperation(() => { instance.CurrentRange.SetFontItalic(isItalic); });