Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header/Footer Font styling #1834

Open
OssianEPPlus opened this issue Feb 3, 2025 · 0 comments
Open

Header/Footer Font styling #1834

OssianEPPlus opened this issue Feb 3, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@OssianEPPlus
Copy link
Contributor

In the current implementation of HeaderFooter users must apply formatting codes themselves rather use the Font and or RichText style pattern used everywhere else. If possible we may want to have the interface be the same as elsewhere in Epplus.

Basically instead of having the user input
worksheet.HeaderFooter.OddHeader.CenteredText = "&24&U&\"Arial,Regular Bold\" Inventory";
It would be nice and more intuitive if one could do something like:
worksheet.HeaderFooter.OddHeader.CenteredText.Font.Bold = True;
worksheet.HeaderFooter.OddHeader.CenteredText.Font.Size = 24;
worksheet.HeaderFooter.OddHeader.CenteredText.Text = "Inventory";

@OssianEPPlus OssianEPPlus added the enhancement New feature or request label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant