Home » FAQ » ASP.NET » Controls » How to specify the hspace and vspace in a <asp:Image>?
VB.NET
Image1.Attributes.Add('hspace', '50') Image1.Attributes.Add('vspace', '50')
C#
Image1.Attributes.Add('hspace', '50') ; Image1.Attributes.Add('vspace', '50') ;
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with