public XLFill(IXLStylized container, IXLFill defaultFill = null, Boolean useDefaultModify = true) { _container = container; if (defaultFill == null) { return; } _patternType = defaultFill.PatternType; _backgroundColor = defaultFill.BackgroundColor; _patternColor = defaultFill.PatternColor; if (useDefaultModify) { var d = defaultFill as XLFill; } }
public XLFill(IXLStylized container, IXLFill defaultFill = null, Boolean useDefaultModify = true) { _container = container; if (defaultFill == null) { return; } _patternType = defaultFill.PatternType; _patternColor = new XLColor(defaultFill.PatternColor); _patternBackgroundColor = new XLColor(defaultFill.PatternBackgroundColor); if (useDefaultModify) { var d = defaultFill as XLFill; PatternBackgroundColorModified = d.PatternBackgroundColorModified; PatternColorModified = d.PatternColorModified; PatternTypeModified = d.PatternTypeModified; } }
public IXLStyle SetPatternType(XLFillPatternValues value) { PatternType = value; return(_container.Style); }
public XLFill(IXLStylized container, IXLFill defaultFill = null, Boolean useDefaultModify = true) { _container = container; if (defaultFill == null) return; _patternType = defaultFill.PatternType; _patternColor = new XLColor(defaultFill.PatternColor); _patternBackgroundColor = new XLColor(defaultFill.PatternBackgroundColor); if (useDefaultModify) { var d = defaultFill as XLFill; PatternBackgroundColorModified = d.PatternBackgroundColorModified; PatternColorModified = d.PatternColorModified; PatternTypeModified = d.PatternTypeModified; } }
public IXLStyle SetPatternType(XLFillPatternValues value) { PatternType = value; return _container.Style; }
public Relleno() { ColorFondo = XLColor.NoColor; ColorPatron = XLColor.NoColor; TipoPatron = XLFillPatternValues.Solid; }