Object Borders

In the 2010 v1 release of Reports for WinForms, support was added for a new way of laying out and positioning borders. This method of laying out and positioning borders was primarilyadded for RDL compatibility but can be useful on its own. For example, now optionally borders can be centered over an object's bounds, without affecting either the object's size or the surrounding objects' positions.

The following public type facilitates this feature:

 

Type

Description

BordersModeEnum

Specifies the various modes of accounting for border thickness when laying out the objects in a document.

 

The BordersModeEnum includes the following members:

      Default: The whole border is considered to be part of the object. This is the default behavior of objects in C1PrintDocument.

      C1Report: The inner 1/2 of border thickness is considered to be part of the object, the outer 1/2 of border is considered to be outside of the object's space. This is the default behavior of objects in C1Report (same as in MS Access).

      Rdl: Border thickness is not taking into account at all when calculating objects' sizes and layout. Borders are drawn centered on objects' bounds.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.