[]
Represents the abstract canvas item for image with hyperlink.
public abstract class LinkItem : ResourcedCanvasItem, IDisposable, ICloneable, ILinkItem, IBordered
public class MyLinkItem : LinkItem
{
public MyLinkItem(IImageConverterService imageConverterService, CanvasType ctType) : base(imageConverterService, ctType)
{
}
public MyLinkItem(IImageConverterService imageConverterService, CanvasType canvasType, float left, float top, float width, float height, string strLink) : base(imageConverterService, canvasType, left, top, width, height, strLink)
{
}
protected override Guid ImageFormatGuid() => ImageFormat.Bmp.Guid;
protected override string ImageTypeName() => ResourceManager.ImageResource.BitmapTypeName;
internal override ResourcedCanvasItem Clone(ResourceManager targetResourceMgr) => new MyLinkItem(ImageConverterService, Type);
}
Name | Description |
---|---|
LinkItem(IImageConverterService, CanvasType) | Initializes a new instance of the LinkItem class. |
LinkItem(IImageConverterService, CanvasType, float, float, float, float, string) | Initializes a new instance of the LinkItem class |
Name | Description |
---|---|
StrLink | Gets or sets the hyperlink. |
Name | Description |
---|---|
ToString() | Returns a string that represents the current object. |