コード例 #1
0
 public bool Equals(ST_PatternType other)
 {
     if (other == null)
     {
         return(false);
     }
     return(_ooxmlEnumerationValue == other._ooxmlEnumerationValue);
 }
コード例 #2
0
 static ST_PatternType()
 {
     none            = new ST_PatternType("none");
     solid           = new ST_PatternType("solid");
     mediumGray      = new ST_PatternType("mediumGray");
     darkGray        = new ST_PatternType("darkGray");
     lightGray       = new ST_PatternType("lightGray");
     darkHorizontal  = new ST_PatternType("darkHorizontal");
     darkVertical    = new ST_PatternType("darkVertical");
     darkDown        = new ST_PatternType("darkDown");
     darkUp          = new ST_PatternType("darkUp");
     darkGrid        = new ST_PatternType("darkGrid");
     darkTrellis     = new ST_PatternType("darkTrellis");
     lightHorizontal = new ST_PatternType("lightHorizontal");
     lightVertical   = new ST_PatternType("lightVertical");
     lightDown       = new ST_PatternType("lightDown");
     lightUp         = new ST_PatternType("lightUp");
     lightGrid       = new ST_PatternType("lightGrid");
     lightTrellis    = new ST_PatternType("lightTrellis");
     gray125         = new ST_PatternType("gray125");
     gray0625        = new ST_PatternType("gray0625");
 }
コード例 #3
0
ファイル: XSSFCellFill.cs プロジェクト: 89sos98/npoi
 /**
  * set the fill pattern
  *
  * @param patternType fill pattern to use
  */
 public void SetPatternType(ST_PatternType patternType)
 {
     CT_PatternFill ptrn = EnsureCTPatternFill();
     ptrn.patternType = patternType;
 }
コード例 #4
0
 public void UnsetPatternType()
 {
     this.patternTypeField = ST_PatternType.none;
 }
コード例 #5
0
        /**
         * set the fill pattern
         *
         * @param patternType fill pattern to use
         */
        public void SetPatternType(ST_PatternType patternType)
        {
            CT_PatternFill ptrn = EnsureCTPatternFill();

            ptrn.patternType = patternType;
        }
コード例 #6
0
ファイル: CT_PatternFill.cs プロジェクト: gechan/npoi
 public void UnsetPatternType()
 {
     this.patternTypeField = ST_PatternType.none;
 }
コード例 #7
0
ファイル: XSSFCellFill.cs プロジェクト: thachgiasoft/shuijin
 public void SetPatternType(ST_PatternType patternType)
 {
     this.EnsureCTPatternFill().patternType = patternType;
 }