You can dynamically set Every Attribute of IFrame.
<iframe id="Image1" runat="server"></iframe>
And on the code behind you can set attribute as shown below
protected void Page_Load(object sender, EventArgs e)
{
Image1.Attributes.Add("height", "150px");
Image1.Attributes.Add("width", "150px");
Image1.Attributes.Add("scrolling", "no");
Image1.Attributes.Add("frameborder", "0");
}
if this Answer is usefull for you then please vote