[]
Represents an abstract class of a canvas element.
public abstract class CanvasItem : IDisposable, ICloneable
All canvas items coordinates are in inches.
public class MyCanvasItem : CanvasItem
{
public MyCanvasItem(CanvasType ctType) : base(ctType)
{
}
public override CanvasItem Clone()
{
return new MyCanvasItem(Type);
}
}
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. |
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) |