示例#1
0
        public static PageLabelRange Create(string prefix, int start, PageNumberingStyle style, bool indirect)
        {
            PageLabelRange range1 = (Resources.Get(Library.CreateDict(), typeof(PageLabelRange)) as PageLabelRange);

            range1.Prefix         = prefix;
            range1.Start          = start;
            range1.NumberingStyle = style;
            if (indirect)
            {
                Library.CreateIndirect(range1.Direct);
            }
            return(range1);
        }
 public void Add(int firstPage, PageNumberingStyle style, string prefix, int start)
 {
     this[firstPage] = PageLabelRange.Create(prefix, start, style, true);
 }