Ignite UI API Reference

ig.excel.CellFillPattern

An immutable object which represents a solid or pattern fill for a cell.

Dependencies

jquery-1.4.4.js
infragistics.util.js
The current widget has no options.
The current widget has no events.
  • &nbspig.excel.CellFillPattern

    new $.ig.excel.CellFillPattern( backgroundColorInfo:ig.excel.WorkbookColorInfo, patternColorInfo:ig.excel.WorkbookColorInfo, patternStyle:ig.excel.FillPatternStyle );

    Creates a new CellFillPattern instance.

    • backgroundColorInfo
    • Type:ig.excel.WorkbookColorInfo
    • A WorkbookColorInfo which describes the background color of the cell, which will only be seen if the patternStyle is not None.
    • patternColorInfo
    • Type:ig.excel.WorkbookColorInfo
    • A WorkbookColorInfo which describes the pattern color of the cell, which will only be seen if the patternStyle is not None or Solid.
    • patternStyle
    • Type:ig.excel.FillPatternStyle
    • The fill pattern for the cell.

    Exceptions

    Exception Description
    ig.excel.InvalidEnumArgumentException patternStyle is Default or not defined in the FillPatternStyle enumeration.

    Remarks

    backgroundColorInfo and patternColorInfo can be specified as null to use the default colors.

  • backgroundColorInfo

    .backgroundColorInfo( );

    Gets the WorkbookColorInfo which describes the background color of the cell, which will only be seen if the CellFillPattern.patternStyle is not None.

  • equals

    .equals( obj:object );
    Return Type:
    boolean
    Return Type Description:
    True if the object is equal to this instance; False otherwise.

    Determines whether the CellFillPattern is equal to the specified object.

    • obj
    • Type:object
    • The object to test for equality.
  • getHashCode

    .getHashCode( );
    Return Type:
    number
    Return Type Description:
    A number which can be used to hash this instance.

    Gets the hash code for the CellFillPattern.

  • patternColorInfo

    .patternColorInfo( );

    Gets the WorkbookColorInfo which describes the pattern color of the cell, which will only be seen if the CellFillPattern.patternStyle is not None or Solid.

  • patternStyle

    .patternStyle( );

    Gets the fill pattern for the cell.

Copyright © 1996 - 2019 Infragistics, Inc. All rights reserved.

#