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

Warning about obsolete functions #477

Open
valimaties opened this issue Apr 26, 2024 · 2 comments
Open

Warning about obsolete functions #477

valimaties opened this issue Apr 26, 2024 · 2 comments

Comments

@valimaties
Copy link

This is from Output window:

XceedDocX\Xceed.Document.NET\Src\Paragraph.cs(2250,11,2250,25): warning CS0618: 'Formatting.Shading' is obsolete: 'This property is obsolete and should no longer be used. Use the ShadingPattern property instead.'
XceedDocX\Xceed.Document.NET\Src\Paragraph.cs(2251,18,2251,32): warning CS0618: 'Formatting.Shading' is obsolete: 'This property is obsolete and should no longer be used. Use the ShadingPattern property instead.'
XceedDocX\Xceed.Document.NET\Src\Paragraph.cs(2251,9,2251,40): warning CS0618: 'Paragraph.Shading(Color, ShadingType)' is obsolete: 'This method is obsolete and should no longer be used. Use the ShadingPattern method instead.'

Do you think these functions should be replaced in the near future?
Regards,
Vali

@XceedBoucherS
Copy link
Collaborator

Hi,
Could you try to use the suggested functions ? It should do the same more efficiently.

Thanks

@valimaties
Copy link
Author

Hi.
As I already said on #476 issue, even if I do some modifications on my branch, when you update to a new version without making these modifications I have to undo my code to be able to add your updates to my fork.
I don't know, maybe there is a way to merge both code, I'm not so familiar with git (shame on me :) ).

Regards,
Vali

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants