Table of Contents

Constructor ReportShapeRectangle

Namespace
DocWright.Reporting.Pagination
Assembly
DocWright.Reporting.dll

ReportShapeRectangle(Twips, Twips, Twips, Twips, ColorRgb?, ColorRgb?, Twips)

Initializes an opaque rectangle, in coordinates relative to the owning item's top-left corner.

public ReportShapeRectangle(Twips left, Twips top, Twips width, Twips height, ColorRgb? fill, ColorRgb? stroke, Twips strokeWidth)

Parameters

left Twips

The left edge.

top Twips

The top edge.

width Twips

The width.

height Twips

The height.

fill ColorRgb?

The fill colour, or null for none.

stroke ColorRgb?

The outline colour, or null for none.

strokeWidth Twips

The outline's width.

ReportShapeRectangle(Twips, Twips, Twips, Twips, ColorRgb?, byte, ColorRgb?, Twips)

Initializes a rectangle whose fill has an opacity from 0 (transparent) to 255 (opaque).

public ReportShapeRectangle(Twips left, Twips top, Twips width, Twips height, ColorRgb? fill, byte fillAlpha, ColorRgb? stroke, Twips strokeWidth)

Parameters

left Twips

The left edge.

top Twips

The top edge.

width Twips

The width.

height Twips

The height.

fill ColorRgb?

The fill colour, or null for none.

fillAlpha byte

The fill's opacity.

stroke ColorRgb?

The outline colour, or null for none.

strokeWidth Twips

The outline's width.