The latest build of C1Preview 2 can be downloaded here:
http://prerelease.componentone.com/dotnet20/c1preview/2008-t2/C1Preview.2_2.0.20082.50035.zip
Here is the list of changes since build 50034:
========================================================================
C1Preview for .Net Build 2.0.20082.50035, 06-Aug-2008
========================================================================
New features
------------
* Added new property to the C1PrintDocument class:
public UsageInfo UsageInfo {get;}
Gets the UsageInfo object containing information related to the
current document's usage: date/time of generation, file name last
used to save or load the document, and so on.
* Added new method to the RenderFragment class:
public bool HasClippedChildren(bool recursive);
Checks whether any of the child fragments of the current fragment
are clipped by its bounds. Depending on the recursive parameter, may
also recursively test all child fragments.
* Changes to the RenderToc object:
- Now any render object can be added to the RenderToc object, for
example you can create RenderToc object with a header repeated on
each page:
C1PrintDocument doc = new C1PrintDocument();
RenderToc toc = new RenderToc(doc);
toc.Style.Font = new Font("Times New Roman", 15);
doc.Body.Children.Add(toc);
RenderText rt = new RenderText();
rt.Text = "Header of RendertToc";
rt.Style.Font = new Font("Verdana", 20);
rt.Style.TextAlignHorz = AlignHorzEnum.Center;
rt.Style.BackColor = Color.LightBlue;
toc.Children.Add(rt);
toc.HeaderVert = rt; // set rt as header
// add sample content
for (int i = 0; i < 30; ++i)
{
toc.AddItem("Level1", 2, 1);
toc.AddItem("Level2", 3, 2);
}
toc.BreakAfter = BreakEnum.Page;
- Added new property:
public bool LinksOnPageNumbersOnly {get;set;}
Gets or sets a value indicating whether only the page numbers in
the rendered TOC represent clickable hyperlinks (otherwise, the
entire area between an entry's caption and page number can be
clicked). The default value is false.
========================================================================
C1Preview for .Net Build 2.0.20082.50034, 03-Jul-2008
========================================================================