DBReportElement

From DBReport wiki
Jump to: navigation, search

Used to handle the element info.

 Properties
AlignH AlignV ArcWidth
BackColor BandId BarcodeOptions
BarcodeType ChartData ChartOptions
ChartType DataField ForeColor
Format FunctionPrint Height
HeightExpand HotSpotEnable Id
Left LineDirection Name
OrderToShow PenWidth Picture
PictureCrop Rotation ShowValueRepeat
ShowValueZero TextBold TextFont
TextItalic TextSize TextUnderline
Top Type Value
Visible VisibleCondition Width


 Constructors
Constructor(Elem As DBReportElement)

Class Constants

Name Type Values
AlignType Integer Left=0
Center=1
Right= 2
Top=3
Bottom=4
BarcodeSType Integer CODE39= 0
CODE128= 1
EAN8=2
EAN13= 3
I25= 4
CODABAR= 5
POSTNET= 6
UPC_A=7
UPC_E=8
QRCODE=9
CODE93= 10
UCC_EAN= 11
EAN_JAN_8=12
EAN_JAN_13= 13
MSI_PLESSEY=14
EAN128= 15
EAN128Cc= 16
EAN14= 17
C25Iata= 18
C25Ind= 19
C25Inter= 20
C25Logic= 21
C25Matrix= 22
ISBNx=23
MicroPDF417=24
MicroQR=25
PDF417= 26
Datamatrix=27
EANx= 28
ElementType Integer Label=10
Field=20
Line=30
Rectangle=40
RectangleRound=50
Picture=60
LineType Integer Horizontal=0
Vertical=1
TopDown=2
BottomUp=3
FunctionType Integer None=0
Sum=1
Count=2
SubTotal=3

Examples

Create an element:

Dim ele As New DBReportElement
ele.BandId= bnd.Id
ele.Type= Int32(DBReportElement.ElementType.Label)
ele.Value= "Name:"
rpt.ElementAdd(ele)