[]
        
(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

Gets a value indicating whether Kinsoku line-breaking rules are enabled for Japanese text layout.

Font

Gets or sets the current font used for text rendering.

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

Gets or sets the text justification mode. Must be set only when TextAlignment is Justify.

TextLayoutService

Gets the text layout service.

TextRenderHint

Gets or sets the text rendering hint that controls antialiasing and hinting of glyphs.

Units

Units

VerticalText

Gets or sets a value indicating whether text is rendered vertically.

VerticalTextAlignment

VerticalTextAlignment

WordWrap

Gets or sets a value indicating whether text wraps. Use WrapMode instead.

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)

Draws a check box input field on the canvas.

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

Draws a check box input field on the canvas with a tab index.

DrawEllipse(float, float, float, float)

DrawEllipse

Draws an evaluation watermark text link on the canvas.

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)

Intersects the current clipping region with the specified rectangle.

IntersectClip(float, float, float, float)

IntersectClip

RestoreClip()

Restores the previously saved clipping region from the clip stack.

SaveClip()

Saves the current clipping region onto the clip stack.

SetTextBoundsRange(float, float)

Set text top/bottom bounds range.

WriteTextInfo(TextInfoItem)

Writes a text info item directly to the canvas item list.

Extension Methods