1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-05 15:50:24 +08:00
Files
go-docx/apirun.go
2023-02-10 13:52:11 +08:00

20 lines
285 B
Go

package docxlib
// Color allows to set run color
func (r *Run) Color(color string) *Run {
r.RunProperties.Color = &Color{
Val: color,
}
return r
}
// Size allows to set run size
func (r *Run) Size(size string) *Run {
r.RunProperties.Size = &Size{
Val: size,
}
return r
}