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

Add optional parameters LabelTop and LabelShift #63

Merged
merged 2 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body:
attributes:
label: PDFtoZPL version
description: Which version of PDFtoZPL is affected?
value: 5.1.0
value: 5.3.0
validations:
required: true
- type: dropdown
Expand Down
2 changes: 1 addition & 1 deletion Console/Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<AssemblyName>PDFtoZPL.Console</AssemblyName>
<RootNamespace>PDFtoZPL.Console</RootNamespace>
<StartupObject>PDFtoZPL.Console.Program</StartupObject>
<Version>5.2.0</Version>
<Version>5.3.0</Version>
<Configurations>Debug;Release;ReleaseSigned</Configurations>
</PropertyGroup>

Expand Down
8 changes: 8 additions & 0 deletions PDFtoZPL/Conversion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
[SupportedOSPlatform("macOS")]
[SupportedOSPlatform("Android31.0")]
#endif
public static IEnumerable<string> ConvertPdf(string pdfAsBase64String, string? password = null, PdfOptions pdfOptions = default, ZplOptions zplOptions = default)

Check warning on line 111 in PDFtoZPL/Conversion.cs

View workflow job for this annotation

GitHub Actions / SonarCloud

Split this method into two, one handling parameters check and the other handling the iterator. (https://rules.sonarsource.com/csharp/RSPEC-4456)
{
if (pdfAsBase64String == null)
throw new ArgumentNullException(nameof(pdfAsBase64String));
Expand All @@ -133,7 +133,7 @@
[SupportedOSPlatform("macOS")]
[SupportedOSPlatform("Android31.0")]
#endif
public static IEnumerable<string> ConvertPdf(byte[] pdfAsByteArray, string? password = null, PdfOptions pdfOptions = default, ZplOptions zplOptions = default)

Check warning on line 136 in PDFtoZPL/Conversion.cs

View workflow job for this annotation

GitHub Actions / SonarCloud

Split this method into two, one handling parameters check and the other handling the iterator. (https://rules.sonarsource.com/csharp/RSPEC-4456)
{
if (pdfAsByteArray == null)
throw new ArgumentNullException(nameof(pdfAsByteArray));
Expand Down Expand Up @@ -162,7 +162,7 @@
[SupportedOSPlatform("macOS")]
[SupportedOSPlatform("Android31.0")]
#endif
public static IEnumerable<string> ConvertPdf(Stream pdfStream, bool leaveOpen = false, string? password = null, PdfOptions pdfOptions = default, ZplOptions zplOptions = default)

Check warning on line 165 in PDFtoZPL/Conversion.cs

View workflow job for this annotation

GitHub Actions / SonarCloud

Split this method into two, one handling parameters check and the other handling the iterator. (https://rules.sonarsource.com/csharp/RSPEC-4456)
{
if (pdfStream == null)
throw new ArgumentNullException(nameof(pdfStream));
Expand Down Expand Up @@ -334,7 +334,7 @@
return ConvertBitmapImpl(bitmap, zplOptions);
}

private static string ConvertBitmapImpl(SKBitmap pdfBitmap, ZplOptions zplOptions)

Check warning on line 337 in PDFtoZPL/Conversion.cs

View workflow job for this annotation

GitHub Actions / SonarCloud

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
{
SKBitmap inputBitmap = pdfBitmap;
SKBitmap? bitmapReplacement = null;
Expand Down Expand Up @@ -402,6 +402,14 @@
if (zplOptions.PrintQuantity > 0)
zpl = zpl.Replace("^XZ", $"^PQ{Math.Min(zplOptions.PrintQuantity, 99999999)}^XZ");

// set the ^LT to shift the label up or down
if (zplOptions.LabelTop != 0 && zplOptions.LabelTop <= 120 && zplOptions.LabelTop >= -120)
zpl = zpl.Replace("^XA", $"^XA^LT{zplOptions.LabelTop}");

// set the ^LS to shift the label left or right
if (zplOptions.LabelShift != 0 && zplOptions.LabelShift <= 9999 && zplOptions.LabelShift >= -9999)
zpl = zpl.Replace("^XA", $"^XA^LS{zplOptions.LabelShift}").Replace("^XZ", "^LS0^XZ");

// finally return the complete ZPL code
return zpl;
}
Expand Down
10 changes: 10 additions & 0 deletions PDFtoZPL/IZplOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,15 @@ public interface IZplOptions
/// Adds the ^PQ command to set the total quantity of labels to print. Accepted values are 1 to 99,999,999. Ignored if set to 0.
/// </summary>
uint PrintQuantity { get; init; }

/// <summary>
/// Adds the ^LT command to move the entire label up or down from its current position (in relation to the top edge of the label). Valid values are between <c>120</c> (move label down) and <c>-120</c> (move label up) dot rows. Values outside of this range are ignored and some printers might accept even fewer.
/// </summary>
sbyte LabelTop { get; init; }

/// <summary>
/// Adds the ^LS command to move the entire label left or right from its current position. Valid values are between <c>9999</c> (move label left) and <c>-9999</c> (move label right). Values outside of this range are ignored.
/// </summary>
short LabelShift { get; init; }
}
}
5 changes: 3 additions & 2 deletions PDFtoZPL/PDFtoZPL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- NuGet -->
<PropertyGroup>
<VersionPrefix>5.2.0</VersionPrefix>
<VersionPrefix>5.3.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>David Sungaila</Authors>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand All @@ -21,7 +21,8 @@
<PackageProjectUrl>https://github.com/sungaila/PDFtoZPL</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/sungaila/PDFtoZPL/master/Icon_128.png</PackageIconUrl>
<Description>A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code.</Description>
<PackageReleaseNotes>- Added System.Index for single page conversion.</PackageReleaseNotes>
<PackageReleaseNotes>- Added optional parameter LabelTop.
- Added optional parameter LabelShift.</PackageReleaseNotes>
<PackageTags>PDF ZPL Zebra Bitmap Convert Conversion C# PDFium MAUI wasm WebAssembly</PackageTags>
<RepositoryUrl>https://github.com/sungaila/PDFtoZPL.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net462/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net471/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net481/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net6.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net7.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net8.0-android/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/net8.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
10 changes: 9 additions & 1 deletion PDFtoZPL/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PDFtoZPL.DitheringKind.FloydSteinberg = 1 -> PDFtoZPL.DitheringKind
PDFtoZPL.DitheringKind.None = 0 -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions
PDFtoZPL.ZplOptions.ZplOptions() -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0) -> void
PDFtoZPL.ZplOptions.ZplOptions(PDFtoZPL.BitmapEncodingKind EncodingKind = PDFtoZPL.BitmapEncodingKind.HexadecimalCompressed, bool GraphicFieldOnly = false, bool SetLabelLength = false, byte Threshold = 128, PDFtoZPL.DitheringKind DitheringKind = PDFtoZPL.DitheringKind.None, uint PrintQuantity = 0, sbyte LabelTop = 0, short LabelShift = 0) -> void
PDFtoZPL.ZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.ZplOptions.DitheringKind.init -> void
PDFtoZPL.ZplOptions.EncodingKind.get -> PDFtoZPL.BitmapEncodingKind
Expand All @@ -24,6 +24,10 @@ PDFtoZPL.ZplOptions.SetLabelLength.get -> bool
PDFtoZPL.ZplOptions.SetLabelLength.init -> void
PDFtoZPL.ZplOptions.Threshold.get -> byte
PDFtoZPL.ZplOptions.Threshold.init -> void
PDFtoZPL.ZplOptions.LabelShift.get -> short
PDFtoZPL.ZplOptions.LabelShift.init -> void
PDFtoZPL.ZplOptions.LabelTop.get -> sbyte
PDFtoZPL.ZplOptions.LabelTop.init -> void
PDFtoZPL.IZplOptions
PDFtoZPL.IZplOptions.DitheringKind.get -> PDFtoZPL.DitheringKind
PDFtoZPL.IZplOptions.DitheringKind.init -> void
Expand All @@ -37,6 +41,10 @@ PDFtoZPL.IZplOptions.SetLabelLength.get -> bool
PDFtoZPL.IZplOptions.SetLabelLength.init -> void
PDFtoZPL.IZplOptions.Threshold.get -> byte
PDFtoZPL.IZplOptions.Threshold.init -> void
PDFtoZPL.IZplOptions.LabelShift.get -> short
PDFtoZPL.IZplOptions.LabelShift.init -> void
PDFtoZPL.IZplOptions.LabelTop.get -> sbyte
PDFtoZPL.IZplOptions.LabelTop.init -> void
PDFtoZPL.PdfOptions
PDFtoZPL.PdfOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoZPL.PdfOptions.AntiAliasing.init -> void
Expand Down
Loading
Loading