-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#if NETFRAMEWORK || NETSTANDARD2_0 || NET5_0 | ||
#if NETFRAMEWORK || NETSTANDARD2_0 || NET5_0 || NET6_0_WINDOWS | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
codebude
Author
Owner
|
||
using System; | ||
using System.Drawing; | ||
using static QRCoder.QRCodeGenerator; | ||
|
||
namespace QRCoder | ||
{ | ||
|
||
#if NET6_0_WINDOWS | ||
[System.Runtime.Versioning.SupportedOSPlatform("windows")] | ||
#endif | ||
public class PostscriptQRCode : AbstractQRCode, IDisposable | ||
{ | ||
/// <summary> | ||
|
@@ -139,6 +143,9 @@ sc sc scale | |
"; | ||
} | ||
|
||
#if NET6_0_WINDOWS | ||
[System.Runtime.Versioning.SupportedOSPlatform("windows")] | ||
#endif | ||
public static class PostscriptQRCodeHelper | ||
{ | ||
public static string GetQRCode(string plainText, int pointsPerModule, string darkColorHex, string lightColorHex, ECCLevel eccLevel, bool forceUtf8 = false, bool utf8BOM = false, EciMode eciMode = EciMode.Default, int requestedVersion = -1, bool drawQuietZones = true, bool epsFormat = false) | ||
|
@codebude Is this missing
NET6_0
?I'm on .Net6 on Mac and by pulling in 1.4.3 I'm getting error about SvgQRCode could not be found.