[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Section.CanvasItem

CanvasItem Class

Represents an abstract class of a canvas element.

Implements
Namespace: GrapeCity.ActiveReports.Document.Section
Assembly: MESCIUS.ActiveReports.Core.Document.dll
Syntax
public abstract class CanvasItem : IDisposable, ICloneable
Remarks

All canvas items coordinates are in inches.

Examples
public class MyCanvasItem : CanvasItem
{
    public MyCanvasItem(CanvasType ctType) : base(ctType)
    {
    }
    public override CanvasItem Clone()
    {
	    return new MyCanvasItem(Type);
    }
}

Fields

Name Description
_disposed

Shows was the item disposed or not.

_searchOffset

The index of the last char of search.

_searchText

The search string.

_selectionLength

The length of search range of source string.

_selectionOffset

The index of the first char of search.

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.

WriteCanvasItemType(BinaryWriter, CanvasType, int)

Writes the type of the canvas item. Support new canvas items (with length written)