我在材料UI卡片中显示了一些详细信息,并且有一个“编辑”按钮。单击编辑按钮时,我需要更新相同卡片布局中的卡片内容。以下是代码 <Card className={classes.root} variant="outlined">
<CardContent>
<Typography
className={classes.title}
color="textSecondary"
gutterBottom
>
Word of the Day
</Typ
我目前正在尝试将windows窗体另存为图像,并且我已经能够使用以下代码:
Dim frm = Me
Using bmp = New Bitmap(frm.Width, frm.Height)
frm.DrawToBitmap(bmp, New Rectangle(0, 0, bmp.Width, bmp.Height))
bmp.Save("D:\programs\files\image.png")
End Using
但是,该图像包含窗体的边框。有没有办法保存没有边框的图片?