[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.FrameStyle

Class FrameStyle

Namespace
GrapeCity.Documents.Drawing
Assembly
GcDocs.Imaging.dll

Describes the inner border and filling of a table cell or table frame.

public class FrameStyle
Inheritance
object
FrameStyle
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

FrameStyle()

Initializes a new instance of the FrameStyle class.

public FrameStyle()

FrameStyle(FrameStyle)

Initializes a new instance of the FrameStyle class.

public FrameStyle(FrameStyle source)

Parameters

source FrameStyle

The source FrameStyle to copy data from.

Properties

Borders

Gets or sets a value specifying which border lines are drawn in a table cell or table frame. The default is AllBorders.

public FrameBorders Borders { get; set; }

Property Value

FrameBorders

CornerRadius

Gets or sets the corner radius for the inner border, in graphic units. The default is 0.

This property only has effect if all border lines are drawn.

public float CornerRadius { get; set; }

Property Value

float

FillBrush

Gets or sets the brush to fill background of the inner area.

public Brush FillBrush { get; set; }

Property Value

Brush

FillColor

Gets or sets the color to fill background of the inner area. The default is transparent.

Ignored if the FillBrush property is set.

public Color FillColor { get; set; }

Property Value

System.Drawing.Color

LineColor

Gets or sets the color of the inner border line. The default is black.

Ignored if the Pen property is set.

public Color LineColor { get; set; }

Property Value

System.Drawing.Color

LinePaddingAll

Gets or sets all line padding values at once (left, top, right, bottom), in graphic units.

public float? LinePaddingAll { get; set; }

Property Value

float?

LinePaddingBottom

Gets or sets the bottom padding of the inner border, in graphic units. The default is 0.

public float LinePaddingBottom { get; set; }

Property Value

float

LinePaddingLeft

Gets or sets the left padding of the inner border, in graphic units. The default is 0.

public float LinePaddingLeft { get; set; }

Property Value

float

LinePaddingLeftRight

Gets or sets the left and right padding of the inner border, in graphic units.

public float? LinePaddingLeftRight { get; set; }

Property Value

float?

LinePaddingRight

Gets or sets the right padding of the inner border, in graphic units. The default is 0.

public float LinePaddingRight { get; set; }

Property Value

float

LinePaddingTop

Gets or sets the top padding of the inner border, in graphic units. The default is 0.

public float LinePaddingTop { get; set; }

Property Value

float

LinePaddingTopBottom

Gets or sets the top and bottom padding of the inner border, in graphic units.

public float? LinePaddingTopBottom { get; set; }

Property Value

float?

LineWidth

Gets or sets the width of the inner border, in graphic units. The default is 0.

Ignored if the Pen property is set.

public float LineWidth { get; set; }

Property Value

float

Pen

Gets or sets the pen to draw the inner border line.

public Pen Pen { get; set; }

Property Value

Pen