cete.dynamicpdf.reportwriter.reportelements.rectangle
Rectangle
- Namespace: ceTe.DynamicPDF.ReportWriter.ReportElements
- Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll
Represents a rectangle report element.
public class Rectangle : ReportElement
Public Class Rectangle
Inherits ReportElement
Inheritance: Object → ReportElement → Rectangle
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
Angle
Gets or sets the angle of the rectangle in degrees.
public float Angle { get; set; }
Public Property Angle As Single
Property Value
BorderColor
Gets or sets the Color object to use for the border of the rectangle.
public Color BorderColor { get; set; }
Public Property BorderColor As Color
Property Value
BorderStyle
Gets or sets the LineStyle object used to specify the border style of the rectangle.
public LineStyle BorderStyle { get; set; }
Public Property BorderStyle As LineStyle
Property Value
BorderWidth
Gets or sets the border width of the rectangle.
public float BorderWidth { get; set; }
Public Property BorderWidth As Single
Property Value
Remarks
To force the borders not to appear set the border width to any value 0 or less.
CornerRadius
Gets or sets the corner radius of the rectangle.
public float CornerRadius { get; set; }
Public Property CornerRadius As Single
Property Value
FillColor
Gets or sets the Color object to use for the fill of the rectangle.
public Color FillColor { get; set; }
Public Property FillColor As Color
Property Value
Remarks
To force no color to appear in the rectangle (only borders) set the fill color to null (Nothing in Visual Basic).
Height
Gets or sets the height of the rectangle.
public float Height { get; set; }
Public Property Height As Single
Property Value
ShowAlternateRow
Gets or sets a value indicating whether the rectangle should be displayed on alternating records.
public AlternateRow ShowAlternateRow { get; set; }
Public Property ShowAlternateRow As AlternateRow
Property Value
Width
Gets or sets the width of the rectangle.
public float Width { get; set; }
Public Property Width As Single
Property Value
X
Gets or sets the X coordinate of the rectangle.
public float X { get; set; }
Public Property X As Single
Property Value
Y
Gets or sets the Y coordinate of the rectangle.
public float Y { get; set; }
Public Property Y As Single
Property Value
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
- obj: Object
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 rectangle has been laid out.
public event RectangleLaidOutEventHandler Rectangle.LaidOut;
Public Event Rectangle.LaidOut As RectangleLaidOutEventHandler
Event Handler
LayingOut
Occurs before the rectangle is laid out.
public event LayingOutEventHandler Rectangle.LayingOut;
Public Event Rectangle.LayingOut As LayingOutEventHandler