Live Chat Icon For mobile
Live Chat Icon

How to specify the hspace and vspace in a <asp:Image>?

Platform: ASP.NET| Category: Controls

VB.NET


Image1.Attributes.Add('hspace', '50') 
Image1.Attributes.Add('vspace', '50') 

C#


Image1.Attributes.Add('hspace', '50') ;
Image1.Attributes.Add('vspace', '50') ;

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.