问题描述
我的代码是
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Left = 5.0
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Right = 50.0
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Top = 150.0
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Bottom = 150.0
VsfgShowRpt.PrintGrid(DlblHeading.Text,PrintGridFlags.ShowPreviewDialog,s,Page No)
i想要将标题strig的字体大小更改为12
my code is
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Left = 5.0
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Right = 50.0
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Top = 150.0
VsfgShowRpt.PrintParameters.PrintDocument.DefaultPageSettings.Margins.Bottom = 150.0
VsfgShowRpt.PrintGrid(DlblHeading.Text, PrintGridFlags.ShowPreviewDialog, s, "Page No")
i want change the header strig s font size to 12
推荐答案
VsfgShowRpt.PrintParameters.HeaderFont = New Font("Tahoma", 10, FontStyle.Bold)
这篇关于更改标题文本字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!