[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Section.DrawCanvas

DrawCanvas Class

Represents a canvas for painting.

Inheritance
DrawCanvas
Namespace: GrapeCity.ActiveReports.Document.Section
Assembly: MESCIUS.ActiveReports.Core.Document.dll
Syntax
public sealed class DrawCanvas

Constructors

Name Description
DrawCanvas(DeviceInfo, ITextLayoutService, IImageConverterService, Page)

Initializes new instance of DrawCanvas object.

Properties

Name Description
BackColor

BackColor

CharacterSpacing

Character Spacing in inches. Could be negative.

DeviceInfo

Gets the DeviceInfo.

EnableKinsoku
Font
Fonts

Summary description for Fonts Property.

ForeColor

ForeColor

ImageConverterService

Gets the image converter service.

LineSpacing

Line height in inches

Padding

Padding

PenStyle

PenStyle

PenWidth

PenWidth

RightToLeft

RightToLeft

ScaleX

Minimal character condensed rate (from 0.1 to 1).

TabStops

Custom tab stops collection

TextAlignment

TextAlignment

TextAngle

TextAngle

TextJustify
TextLayoutService

Gets the text layout service.

TextRenderHint
Units

Units

VerticalText
VerticalTextAlignment

VerticalTextAlignment

WordWrap
WrapMode

Gets or sets the wrap mode.

Methods

Name Description
DrawBorder(Border, RectangleF)

DrawBorder

DrawBorder(Border, float, float, float, float)

DrawBorder

DrawCheckBoxInputField(RectangleF, string, bool, bool, InputBorderStyle, float, Color, bool, float, InputCheckStyle)
DrawCheckBoxInputField(RectangleF, string, bool, bool, InputBorderStyle, float, Color, bool, float, InputCheckStyle, int)
DrawEllipse(float, float, float, float)

DrawEllipse

DrawImage(Image, RectangleF, string, string, string)

Creates a resourced сanvas item based on image data and adds it to internal canvas items collection.

DrawImage(Image, float, float, float, float, string, string, string)

Creates a resourced сanvas item based on image data and adds it to internal canvas items collection.

DrawLine(float, float, float, float)

DrawLine

DrawRect(RectangleF)

DrawRect

DrawRect(float, float, float, float)

DrawRect

DrawRoundRect(float, float, float, float, float, float)

DrawRoundRect

DrawRoundRect(float, float, float, float, float, float, float, float, float)

Renders a rounded rectangle with different corner radii.

DrawSvg(float, float, float, float, string)

DrawSvg

DrawTable(RectangleF)

The DrawTable Method allows to draw a table control to a page.

DrawText(string, RectangleF)

DrawText

DrawText(string, RectangleF, string)

DrawText

DrawText(string, float, float, float, float)

DrawText

DrawText(string, float, float, float, float, string)

DrawText

DrawText(string[], RectangleF)

DrawText

DrawText(string[], RectangleF, string)

DrawText

DrawText(string[], float, float, float, float)

RS: CR 24033 - Keep the method with the old signature for the back compatibility

DrawText(string[], float, float, float, float, string)

RS: CR 24033 - Keep the old method signature for the back compatibility

DrawTextFallback(string[], float, float, float, float, string, string[])

DrawText RS: CR 24033 - Add parameter to store fallback set of lines(when the align is set to Justify and the report is exported into RDF 20)

DrawTextFallback(string[], float, float, float, float, string[])

DrawText RS: CR 24033 - Add parameter to store fallback set of lines(when the align is set to Justify and the report is exported into RDF 20)

DrawTextInputField(RectangleF, string, bool, bool, InputBorderStyle, float, Color, int, bool, bool, bool, InputTextAlign, string[])

Draws a text input field on the canvas.

DrawTextInputField(RectangleF, string, bool, bool, InputBorderStyle, float, Color, int, bool, bool, bool, InputTextAlign, string[], int)

Draws a text input field on the canvas with a specified tab index.

FillRect(RectangleF)

FillRect

FillRect(float, float, float, float)

FillRect

IntersectClip(RectangleF)
IntersectClip(float, float, float, float)

IntersectClip

RestoreClip()
SaveClip()
SetTextBoundsRange(float, float)

Set text top/bottom bounds range.

WriteTextInfo(TextInfoItem)

Extension Methods