Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / PictureMargin Property

In This Topic
    PictureMargin Property (ElementWindowless)
    In This Topic
    Gets or sets the margin between the text and the picture.
    Public Overridable Property PictureMargin As Integer
    Dim instance As ElementWindowless
    Dim value As Integer
    instance.PictureMargin = value
    value = instance.PictureMargin
    public virtual int PictureMargin {get; set;}
    element.Picture = System.Drawing.Image.FromFile("d:\\mail16A.ico");
    element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight;
    element.PictureMargin = 25;
    element.Picture = System.Drawing.Image.FromFile("d:\mail16A.ico")
    element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight
    element.PictureMargin = 25
    See Also