我已经实现了水印文字字体的选择 SolidBrush semiTransBrush = semiTransBrush2;
g.DrawString(Txt[3].ToString(), new Font(FontName[4].ToString(), FontSize[4]), semiTransBrush, LeftValue[4] * oldimage.Width / 20, TopValue[4] * oldimage.Height / 20 + 1);
semiTransBrush.Dispose();怎么样实现可以选择水印文字的透明度
g.DrawString(Txt[3].ToString(), new Font(FontName[4].ToString(), FontSize[4]), semiTransBrush, LeftValue[4] * oldimage.Width / 20, TopValue[4] * oldimage.Height / 20 + 1);
semiTransBrush.Dispose();怎么样实现可以选择水印文字的透明度
g.DrawString(Txt[3].ToString(), new Font(FontName[4].ToString(), FontSize[4]), semiTransBrush, LeftValue[4] * oldimage.Width / 20, TopValue[4] * oldimage.Height / 20 + 1);
semiTransBrush.Dispose();Color.FromArgb(100, 0, 0, 0) 3个0表示rgb值,100表示透明度