Skip to content

Commit

Permalink
Add optional parameters LabelTop and LabelShift (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila authored Aug 9, 2024
1 parent 0f4b16e commit ae5e636
Show file tree
Hide file tree
Showing 24 changed files with 360 additions and 21 deletions.
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 @@ -402,6 +402,14 @@ private static string ConvertBitmapImpl(SKBitmap pdfBitmap, ZplOptions zplOption
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

0 comments on commit ae5e636

Please sign in to comment.