示例#1
0
        public PrintCellComments GetCellComment()
        {
            ST_CellComments?nullable = new ST_CellComments?(this.pageSetup.cellComments);

            if (nullable.HasValue)
            {
                return(PrintCellComments.ValueOf((int)nullable.Value));
            }
            return(PrintCellComments.NONE);
        }
示例#2
0
 public PrintCellComments GetCellComment()
 {
     ST_CellComments? val = pageSetup.cellComments;
     return val == null ? PrintCellComments.NONE : PrintCellComments.ValueOf((int)val);
 }