func ExampleFpdf_SetUnderlineThickness() {
	pdf := gofpdf.New("P", "mm", "A4", "") // 210mm x 297mm
	pdf.AddPage()
	pdf.SetFont("Arial", "U", 12)

	pdf.SetUnderlineThickness(0.5)
	pdf.CellFormat(0, 10, "Thin underline", "", 1, "", false, 0, "")

	pdf.SetUnderlineThickness(1)
	pdf.CellFormat(0, 10, "Normal underline", "", 1, "", false, 0, "")

	pdf.SetUnderlineThickness(2)
	pdf.CellFormat(0, 10, "Thicker underline", "", 1, "", false, 0, "")

	fileStr := example.Filename("Fpdf_UnderlineThickness")
	err := pdf.OutputFileAndClose(fileStr)
	example.Summary(err, fileStr)
	// Output:
	// Successfully generated pdf/Fpdf_UnderlineThickness.pdf
}
// ExampleFpdf_SetUnderlineThickness demonstrates how to adjust the text
// underline thickness.
ExampleFpdf_SetUnderlineThickness demonstrates how to adjust the text
underline thickness.
// ExampleFpdf_SetUnderlineThickness demonstrates how to adjust the text // underline thickness .
func ExampleFpdf_SetUnderlineThickness() {
	pdf := gofpdf.New("P", "mm", "A4", "") 
	pdf.AddPage()
	pdf.SetFont("Arial", "U", 12)
	pdf.SetUnderlineThickness(0.5)
	pdf.CellFormat(0, 10, "Thin underline", "", 1, "", false, 0, "")
	pdf.SetUnderlineThickness(1)
	pdf.CellFormat(0, 10, "Normal underline", "", 1, "", false, 0, "")
	pdf.SetUnderlineThickness(2)
	pdf.CellFormat(0, 10, "Thicker underline", "", 1, "", false, 0, "")
	fileStr := example.Filename("Fpdf_UnderlineThickness")
	err := pdf.OutputFileAndClose(fileStr)
	example.Summary(err, fileStr)
}
func ExampleFpdf_SetUnderlineThickness ( ) { pdf := gofpdf . New ( " " , " " , " " , " " ) pdf . AddPage ( ) pdf . SetFont ( " " , " " , 12 ) pdf . SetUnderlineThickness ( 0.5 ) pdf . CellFormat ( 0 , 10 , " " , " " , 1 , " " , false , 0 , " " ) pdf . SetUnderlineThickness ( 1 ) pdf . CellFormat ( 0 , 10 , " " , " " , 1 , " " , false , 0 , " " ) pdf . SetUnderlineThickness ( 2 ) pdf . CellFormat ( 0 , 10 , " " , " " , 1 , " " , false , 0 , " " ) fileStr := example . Filename ( " " ) err := pdf . OutputFileAndClose ( fileStr ) example . Summary ( err , fileStr ) }
ExampleFpdf_SetUnderlineThickness demonstrates how to adjust the text
underline thickness.
ExampleFpdf_SetUnderlineThickness demonstrates how to adjust the text underline thickness .
// 210mm x 297mm // Output: // Successfully generated pdf/Fpdf_UnderlineThickness.pdf