Skip to main content

RecordBox

Version: 6.0

cete.dynamicpdf.reportwriter.reportelements.recordbox

RecordBox​

Represents a record box report element.

public class RecordBox : ReportElement
Public Class RecordBox
Inherits ReportElement

Inheritance: Object → ReportElement → RecordBox

Licensing​

This class is a DynamicPDF ReportWriter Professional Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF ReportWriter for .NET Professional Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Properties​

Align​

Gets or sets the TextAlign enumeration that specifies the text alignment of the record box.

public TextAlign Align { get; set; }
Public Property Align As TextAlign

Property Value​

TextAlign

Angle​

Gets or sets the angle of the record box in degrees.

public float Angle { get; set; }
Public Property Angle As Single

Property Value​

Single

AutoLeading​

Gets or sets a value indicating whether the leading of the record box should be calculated automatically.

public bool AutoLeading { get; set; }
Public Property AutoLeading As Boolean

Property Value​

Boolean

Remarks​

This property is automatically set to false any time the Leading property is set.

CleanParagraphBreaks​

Gets or sets the clean paragraph breaks for the paragraphs of the record box.

public bool CleanParagraphBreaks { get; set; }
Public Property CleanParagraphBreaks As Boolean

Property Value​

Boolean

DataFormat​

Gets or sets the format to be used for the data of the record box.

public string DataFormat { get; set; }
Public Property DataFormat As String

Property Value​

String

Expandable​

Gets or sets a value indicating whether the record box will expand if all the text is not visible.

public bool Expandable { get; set; }
Public Property Expandable As Boolean

Property Value​

Boolean

Field​

Gets or sets the name of the field to be used in the record box

public string Field { get; set; }
Public Property Field As String

Property Value​

String

Font​

Gets or sets the Font object used to specify the font of the text for the record box.

public Font Font { get; set; }
Public Property Font As Font

Property Value​

Font

FontSize​

Gets or sets the font size for the text of the record box.

public float FontSize { get; set; }
Public Property FontSize As Single

Property Value​

Single

FormatProvider​

Gets or sets the format provider of the record box.

public IFormatProvider FormatProvider { get; set; }
Public Property FormatProvider As IFormatProvider

Property Value​

IFormatProvider

Height​

Gets or sets the height of the record box.

public float Height { get; set; }
Public Property Height As Single

Property Value​

Single

Leading​

Gets or sets the leading for the text of the record box.

public float Leading { get; set; }
Public Property Leading As Single

Property Value​

Single

Remarks​

Setting this property will automatically set the AutoLeading property to false.

ParagraphIndent​

Gets or sets the paragraph indenting for the paragraphs of the record box.

public float ParagraphIndent { get; set; }
Public Property ParagraphIndent As Single

Property Value​

Single

ParagraphSpacing​

Gets or sets the paragraph spacing for the paragraphs of the record box.

public float ParagraphSpacing { get; set; }
Public Property ParagraphSpacing As Single

Property Value​

Single

Splittable​

Gets or sets a value indicating whether the text within the record box will split if the record area reaches the end of the page.

public bool Splittable { get; set; }
Public Property Splittable As Boolean

Property Value​

Boolean

TextColor​

Gets or sets the Color object to use for the text of the record box.

public Color TextColor { get; set; }
Public Property TextColor As Color

Property Value​

Color

Underline​

Gets or sets a value indicating if the record box is underlined.

public bool Underline { get; set; }
Public Property Underline As Boolean

Property Value​

Boolean

VAlign​

Gets or sets the VAlign enumeration that specifies the vertical text alignment of the record box.

public VAlign VAlign { get; set; }
Public Property VAlign As VAlign

Property Value​

VAlign

Width​

Gets or sets the width of the record box.

public float Width { get; set; }
Public Property Width As Single

Property Value​

Single

X​

Gets or sets the X coordinate of the record box.

public float X { get; set; }
Public Property X As Single

Property Value​

Single

Y​

Gets or sets the Y coordinate of the record box.

public float Y { get; set; }
Public Property Y As Single

Property Value​

Single

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Events​

LaidOut​

Occurs after the record box has been laid out.

public event RecordBoxLaidOutEventHandler RecordBox.LaidOut;
Public Event RecordBox.LaidOut As RecordBoxLaidOutEventHandler

Event Handler​

RecordBoxLaidOutEventHandler

LayingOut​

Occurs before the record box is laid out.

public event LayingOutEventHandler RecordBox.LayingOut;
Public Event RecordBox.LayingOut As LayingOutEventHandler

Event Handler​

LayingOutEventHandler

See Also​

ceTe.DynamicPDF.ReportWriter.ReportElements