diff --git a/Build/1 build libs.bat b/Build/1 build libs.bat
index 55b848afd..bdc8b034a 100644
--- a/Build/1 build libs.bat
+++ b/Build/1 build libs.bat
@@ -5,7 +5,7 @@ CD %~dp0
echo Set params...
set verb=/verbosity:minimal
-set msbuild=C:\Windows\Microsoft.Net\Framework\v4.0.30319\MSBuild.exe
+set msbuild="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\MSBuild.exe"
set c_proj=..\Source\HtmlRenderer\HtmlRenderer.csproj
set wf_proj=..\Source\HtmlRenderer.WinForms\HtmlRenderer.WinForms.csproj
@@ -24,80 +24,47 @@ set wpf_out=..\..\Build\%wpf_rel%
set mono_out=..\..\Build\%mono_rel%
set pdfs_out=..\..\Build\%pdfs_rel%
-set t_20=Configuration=Release;TargetFrameworkVersion=v2.0
-set t_30=Configuration=Release;TargetFrameworkVersion=v3.0
-set t_35=Configuration=Release;TargetFrameworkVersion=v3.5;TargetFrameworkProfile=client
-set t_40=Configuration=Release;TargetFrameworkVersion=v4.0;TargetFrameworkProfile=client
-set t_45=Configuration=Release;TargetFrameworkVersion=v4.5
+set t_48=Configuration=Release;TargetFrameworkVersion=v4.8
-set t_mono_20=%t_20%;DefineConstants=MONO
-set t_mono_35=%t_35%;DefineConstants=MONO
-set t_mono_40=%t_40%;DefineConstants=MONO
-set t_mono_45=%t_45%;DefineConstants=MONO
+set t_mono_48=%t_48%;DefineConstants=MONO
echo.
echo.
echo - BUILD Core...
echo.
-%msbuild% %c_proj% /t:rebuild /p:%t_20%;OutputPath=%c_out%\NET20 %verb%
-%msbuild% %c_proj% /t:rebuild /p:%t_30%;OutputPath=%c_out%\NET30 %verb%
-%msbuild% %c_proj% /t:rebuild /p:%t_35%;OutputPath=%c_out%\NET35 %verb%
-%msbuild% %c_proj% /t:rebuild /p:%t_40%;OutputPath=%c_out%\NET40 %verb%
-%msbuild% %c_proj% /t:rebuild /p:%t_45%;OutputPath=%c_out%\NET45 %verb%
+%msbuild% %c_proj% /t:rebuild /p:%t_48%;OutputPath=%c_out%\NET48 %verb%
echo.
echo.
echo - BUILD WinForms...
echo.
-%msbuild% %wf_proj% /t:rebuild /p:%t_20%;OutputPath=%wf_out%_t\NET20 %verb%
-%msbuild% %wf_proj% /t:rebuild /p:%t_35%;OutputPath=%wf_out%_t\NET35 %verb%
-%msbuild% %wf_proj% /t:rebuild /p:%t_40%;OutputPath=%wf_out%_t\NET40 %verb%
-%msbuild% %wf_proj% /t:rebuild /p:%t_45%;OutputPath=%wf_out%_t\NET45 %verb%
-xcopy %wf_rel%_t\NET20\HtmlRenderer.WinForms.* %wf_rel%\NET20 /I
-xcopy %wf_rel%_t\NET35\HtmlRenderer.WinForms.* %wf_rel%\NET35 /I
-xcopy %wf_rel%_t\NET40\HtmlRenderer.WinForms.* %wf_rel%\NET40 /I
-xcopy %wf_rel%_t\NET45\HtmlRenderer.WinForms.* %wf_rel%\NET45 /I
+%msbuild% %wf_proj% /t:rebuild /p:%t_48%;OutputPath=%wf_out%_t\NET48 %verb%
+xcopy %wf_rel%_t\NET48\HtmlRenderer.WinForms.* %wf_rel%\NET48 /I
rmdir %wf_rel%_t /s /q
echo.
echo.
echo - BUILD WPF...
echo.
-%msbuild% %wpf_proj% /t:rebuild /p:%t_30%;OutputPath=%wpf_out%_t\NET30 %verb%
-%msbuild% %wpf_proj% /t:rebuild /p:%t_35%;OutputPath=%wpf_out%_t\NET35 %verb%
-%msbuild% %wpf_proj% /t:rebuild /p:%t_40%;OutputPath=%wpf_out%_t\NET40 %verb%
-%msbuild% %wpf_proj% /t:rebuild /p:%t_45%;OutputPath=%wpf_out%_t\NET45 %verb%
-xcopy %wpf_rel%_t\NET30\HtmlRenderer.WPF.* %wpf_rel%\NET30 /I
-xcopy %wpf_rel%_t\NET35\HtmlRenderer.WPF.* %wpf_rel%\NET35 /I
-xcopy %wpf_rel%_t\NET40\HtmlRenderer.WPF.* %wpf_rel%\NET40 /I
-xcopy %wpf_rel%_t\NET45\HtmlRenderer.WPF.* %wpf_rel%\NET45 /I
+%msbuild% %wpf_proj% /t:rebuild /p:%t_48%;OutputPath=%wpf_out%_t\NET48 %verb%
+xcopy %wpf_rel%_t\NET48\HtmlRenderer.WPF.* %wpf_rel%\NET48 /I
rmdir %wpf_rel%_t /s /q
echo.
echo.
echo - BUILD Mono...
echo.
-%msbuild% %wf_proj% /t:rebuild /p:%t_mono_20%;OutputPath=%mono_out%_t\NET20 %verb%
-%msbuild% %wf_proj% /t:rebuild /p:%t_mono_35%;OutputPath=%mono_out%_t\NET35 %verb%
-%msbuild% %wf_proj% /t:rebuild /p:%t_mono_40%;OutputPath=%mono_out%_t\NET40 %verb%
-%msbuild% %wf_proj% /t:rebuild /p:%t_mono_45%;OutputPath=%mono_out%_t\NET45 %verb%
-xcopy %mono_rel%_t\NET20\HtmlRenderer.WinForms.* %mono_rel%\NET20 /I
-xcopy %mono_rel%_t\NET35\HtmlRenderer.WinForms.* %mono_rel%\NET35 /I
-xcopy %mono_rel%_t\NET40\HtmlRenderer.WinForms.* %mono_rel%\NET40 /I
-xcopy %mono_rel%_t\NET45\HtmlRenderer.WinForms.* %mono_rel%\NET45 /I
+
+%msbuild% %wf_proj% /t:rebuild /p:%t_mono_48%;OutputPath=%mono_out%_t\NET48 %verb%
+
+xcopy %mono_rel%_t\NET48\HtmlRenderer.WinForms.* %mono_rel%\NET48 /I
rmdir %mono_rel%_t /s /q
echo.
echo.
echo - BUILD PdfSharp...
echo.
-%msbuild% %pdfs_proj% /t:rebuild /p:%t_20%;OutputPath=%pdfs_out%_t\NET20 %verb%
-%msbuild% %pdfs_proj% /t:rebuild /p:%t_35%;OutputPath=%pdfs_out%_t\NET35 %verb%
-%msbuild% %pdfs_proj% /t:rebuild /p:%t_40%;OutputPath=%pdfs_out%_t\NET40 %verb%
-%msbuild% %pdfs_proj% /t:rebuild /p:%t_45%;OutputPath=%pdfs_out%_t\NET45 %verb%
-xcopy %pdfs_rel%_t\NET20\HtmlRenderer.PdfSharp.* %pdfs_rel%\NET20 /I
-xcopy %pdfs_rel%_t\NET35\HtmlRenderer.PdfSharp.* %pdfs_rel%\NET35 /I
-xcopy %pdfs_rel%_t\NET40\HtmlRenderer.PdfSharp.* %pdfs_rel%\NET40 /I
-xcopy %pdfs_rel%_t\NET45\HtmlRenderer.PdfSharp.* %pdfs_rel%\NET45 /I
+%msbuild% %pdfs_proj% /t:rebuild /p:%t_48%;OutputPath=%pdfs_out%_t\NET48 %verb%
+xcopy %pdfs_rel%_t\NET48\HtmlRenderer.PdfSharp.* %pdfs_rel%\NET48 /I
rmdir %pdfs_rel%_t /s /q
\ No newline at end of file
diff --git a/Build/2 build demo.bat b/Build/2 build demo.bat
index 61310b3f7..fb0135c5d 100644
--- a/Build/2 build demo.bat
+++ b/Build/2 build demo.bat
@@ -3,30 +3,30 @@
CD %~dp0
set verb=/verbosity:minimal
-set msbuild=C:\Windows\Microsoft.Net\Framework\v4.0.30319\MSBuild.exe
+set msbuild="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\MSBuild.exe"
set t_20=Configuration=Release;TargetFrameworkVersion=v2.0
-set t_40=Configuration=Release;TargetFrameworkVersion=v4.0;TargetFrameworkProfile=client
-set t_mono_20=%t_20%;DefineConstants=MONO
+set t_48=Configuration=Release;TargetFrameworkVersion=v4.8
+set t_mono_20=%t_48%;DefineConstants=MONO
echo.
echo.
echo - BUILD WinForms...
echo.
-%msbuild% ..\Source\Demo\WinForms\HtmlRenderer.Demo.WinForms.csproj /t:rebuild /p:%t_20%;OutputPath=..\..\..\Build\Release\Demo\WinForms %verb%
+%msbuild% ..\Source\Demo\WinForms\HtmlRenderer.Demo.WinForms.csproj /t:rebuild /p:%t_48%;OutputPath=..\..\..\Build\Release\Demo\WinForms %verb%
echo.
echo.
echo - BUILD Mono...
echo.
-%msbuild% ..\Source\Demo\WinForms\HtmlRenderer.Demo.WinForms.csproj /t:rebuild /p:%t_mono_20%;OutputPath=..\..\..\Build\Release\Demo\Mono %verb%
+%msbuild% ..\Source\Demo\WinForms\HtmlRenderer.Demo.WinForms.csproj /t:rebuild /p:%t_mono_48%;OutputPath=..\..\..\Build\Release\Demo\Mono %verb%
echo.
echo.
echo - BUILD WPF...
echo.
-%msbuild% ..\Source\Demo\WPF\HtmlRenderer.Demo.WPF.csproj /t:rebuild /p:%t_40%;OutputPath=..\..\..\Build\Release\Demo\WPF %verb%
+%msbuild% ..\Source\Demo\WPF\HtmlRenderer.Demo.WPF.csproj /t:rebuild /p:%t_48%;OutputPath=..\..\..\Build\Release\Demo\WPF %verb%
echo.
echo - Handle outputs...
diff --git a/Build/3 archive.bat b/Build/3 archive.bat
index 033aac66a..6f6930d31 100644
--- a/Build/3 archive.bat
+++ b/Build/3 archive.bat
@@ -11,7 +11,7 @@ echo.
echo.
echo - Git clone...
echo.
-"C:\Program Files (x86)\Git\bin\git.exe" clone -q --branch=v1.5 https://github.com/ArthurHub/HTML-Renderer.git Release\git
+"C:\Program Files (x86)\Git\bin\git.exe" clone -q --branch=v6.2 https://github.com/ArthurHub/HTML-Renderer.git Release\git
xcopy Release\git\Source Release\Source /I /E
rmdir Release\git /s /q
diff --git a/Build/NuGet.exe b/Build/NuGet.exe
index 3ffdd33c6..ed048fe88 100644
Binary files a/Build/NuGet.exe and b/Build/NuGet.exe differ
diff --git a/Build/NuGet/HtmlRenderer.Core.nuspec b/Build/NuGet/HtmlRenderer.Core.nuspec
index 25e8783ea..c059af5fc 100644
--- a/Build/NuGet/HtmlRenderer.Core.nuspec
+++ b/Build/NuGet/HtmlRenderer.Core.nuspec
@@ -7,7 +7,7 @@
-
-
-
- HTML Renderer Project - $$Platform$$
-
-
- Release $$Release$$
-
-
-
-
-
-
-
-
-
- Everything you see on this panel (see samples on the left) is custom-painted
- by the HTML Renderer, including tables, images, links and videos.
-
- This project allows you to have the rich format power of HTML on your desktop applications
- without WebBrowser control or MSHTML.
- The library is 100% managed code without any external dependencies, the only
- requirement is .NET 2.0 or higher, including support for Client Profile.
-
+
HtmlPanel
- The control where you are reading this, panel with scrollbars.HtmlLabel
- Same as html panel but without scrollbars and optional
- auto size.HtmlToolTip
- For ToolTip with rich html.- http://TheArtOfDev.com --
- www.menendezpoo.com -+ +
HtmlPanel
- The control where you are reading this, panel with scrollbars.HtmlLabel
- Same as html panel but without scrollbars and optional
+ auto size.
+ HtmlToolTip
- For ToolTip with rich html.+ http://TheArtOfDev.com ++
+ www.menendezpoo.com- + +
-- - \ No newline at end of file + + +- There are some additional features that you may already discovered about the renderer - core engine.
-- Graphic features
-- I have always wanted the W3C to add this features to the CSS spec (and so far, not - there yet :)
--
-- Gradients on backgrounds
-- Rounded corners
-- And I think many many web designers would agree. Is it so hard or what?.
-- Background Gradients
-- It is a simple two color linear gradient, achieved by the adding of two CSS properties:
--
- Some examples - -- -
background-gradient: (#Color)
- Second color of the gradient background, - the first one is given bybackground-color
. Not inherited.- -
background-gradient-angle: (number)
- Angle (in degrees, clockwise) of - the gradient. Not inherited. Initial value:90-
-- -- -- -- -- -- -- -- 0 degrees - -- 45 degrees - -- 90 degrees - -- 135 degrees - -- 180 degrees - -- Rounded corners
-- As you may already know, CSS is based on a - Box Model, where every box has it's own set of properties. Since we are - talking abound boxes, why not to make them with rounded corners, almost every - website you visit nowadays makes use of rounded corners, where a not very nice trick - with images and tables must be used.
-- In this renderer, the rounded corners are achieved by adding this CSS properties:
--
- - Some examples -- -
corner-ne-radius: (length)
Indicates the radius of the north-east corner. - Not ineritted- -
corner-se-radius: (length)
Indicates the radius of the south-east corner. - Not ineritted- -
corner-sw-radius: (length)
Indicates the radius of the south-west corner. - Not ineritted- -
corner-nw-radius: (length)
Indicates the radius of the north-west corner. - Not ineritted- -
corner-radius: (length){1,4}
Shorthand for the other corner properties. - Not ineritted-
-- -- --
--
-- c1 - -- c2 - -- c3 - -- c4 - -- c5 - -.c1, .c2, .c3, .c4, .c5 { background-color:olive; border:0px; color:white; vertical-align:middle; } -.c1 { corner-radius: 0px } -.c2 { corner-radius: 10px } -.c3 { corner-radius: 0px 10px 10px 0px } -.c4 { corner-radius: 18px } -.c5 { corner-radius: 10px; border: outset #bb0 2px; }-
++ ++ There are some additional features that you may already discovered about the renderer + core engine. +
++ Graphic features +
++ I have always wanted the W3C to add this features to the CSS spec (and so far, not + there yet :) +
++
+- Gradients on backgrounds
+- Rounded corners
++ And I think many many web designers would agree. Is it so hard or what?. +
++ Background Gradients +
++ It is a simple two color linear gradient, achieved by the adding of two CSS properties: +
++
+ Some examples + +- +
+background-image: linear-gradient(angle, color1, color2)
- Creates a gradient background + with the specified colors and angle. Not inherited. +- +
+angle
- Angle (in degrees, clockwise) of + the gradient. Not inherited. Example: 90deg ++
++ ++ ++ ++ ++ ++ ++ ++ 0 degrees + ++ 45 degrees + ++ 90 degrees + ++ 135 degrees + ++ 180 degrees + ++ Rounded corners +
++ As you may already know, CSS is based on a + Box Model + , where every box has it's own set of properties. Since we are + talking abound boxes, why not to make them with rounded corners, almost every + website you visit nowadays makes use of rounded corners, where a not very nice trick + with images and tables must be used. +
++ In this renderer, the rounded corners are achieved by adding this CSS properties: +
++
+ + Some examples +- +
+border-top-right-radius: (length)
Indicates the radius of the top-right corner. + Not inherited +- +
+border-bottom-right-radius: (length)
Indicates the radius of the bottom-right corner. + Not inherited +- +
+border-bottom-left-radius: (length)
Indicates the radius of the bottom-left corner. + Not inherited +- +
+border-top-left-radius: (length)
Indicates the radius of the top-left corner. + Not inherited +- +
+border-radius: (length){1,4}
Shorthand for the other corner properties. + Not inherited ++
++ ++ ++
++
++ c1 + ++ c2 + ++ c3 + ++ c4 + ++ c5 + +.c1, .c2, .c3, .c4, .c5 { background-color:olive; border:0px; color:white; vertical-align:middle; } +.c1 { border-radius: 0px } +.c2 { border-radius: 10px } +.c3 { border-radius: 0px 10px 10px 0px } +.c4 { border-radius: 18px } +.c5 { border-radius: 10px; border: outset #bb0 2px; }+