First commit
Send all results
This commit is contained in:
82
PdfSharp/Drawing.BarCodes/enums/AnchorType.cs
Normal file
82
PdfSharp/Drawing.BarCodes/enums/AnchorType.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
#region PDFsharp - A .NET library for processing PDF
|
||||
//
|
||||
// Authors:
|
||||
// Klaus Potzesny
|
||||
//
|
||||
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
|
||||
//
|
||||
// http://www.pdfsharp.com
|
||||
// http://sourceforge.net/projects/pdfsharp
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included
|
||||
// in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
namespace PdfSharp.Drawing.BarCodes
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies whether and how the text is displayed at the code area.
|
||||
/// </summary>
|
||||
public enum AnchorType
|
||||
{
|
||||
/// <summary>
|
||||
/// The anchor is located top left.
|
||||
/// </summary>
|
||||
TopLeft,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located top center.
|
||||
/// </summary>
|
||||
TopCenter,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located top right.
|
||||
/// </summary>
|
||||
TopRight,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located middle left.
|
||||
/// </summary>
|
||||
MiddleLeft,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located middle center.
|
||||
/// </summary>
|
||||
MiddleCenter,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located middle right.
|
||||
/// </summary>
|
||||
MiddleRight,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located bottom left.
|
||||
/// </summary>
|
||||
BottomLeft,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located bottom center.
|
||||
/// </summary>
|
||||
BottomCenter,
|
||||
|
||||
/// <summary>
|
||||
/// The anchor is located bottom right.
|
||||
/// </summary>
|
||||
BottomRight,
|
||||
}
|
||||
}
|
57
PdfSharp/Drawing.BarCodes/enums/CodeDirection.cs
Normal file
57
PdfSharp/Drawing.BarCodes/enums/CodeDirection.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
#region PDFsharp - A .NET library for processing PDF
|
||||
//
|
||||
// Authors:
|
||||
// Klaus Potzesny
|
||||
//
|
||||
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
|
||||
//
|
||||
// http://www.pdfsharp.com
|
||||
// http://sourceforge.net/projects/pdfsharp
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included
|
||||
// in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
namespace PdfSharp.Drawing.BarCodes
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the drawing direction of the code.
|
||||
/// </summary>
|
||||
public enum CodeDirection
|
||||
{
|
||||
/// <summary>
|
||||
/// Does not rotate the code.
|
||||
/// </summary>
|
||||
LeftToRight,
|
||||
|
||||
/// <summary>
|
||||
/// Rotates the code 180<38> at the anchor position.
|
||||
/// </summary>
|
||||
BottomToTop,
|
||||
|
||||
/// <summary>
|
||||
/// Rotates the code 180<38> at the anchor position.
|
||||
/// </summary>
|
||||
RightToLeft,
|
||||
|
||||
/// <summary>
|
||||
/// Rotates the code 180<38> at the anchor position.
|
||||
/// </summary>
|
||||
TopToBottom,
|
||||
}
|
||||
}
|
59
PdfSharp/Drawing.BarCodes/enums/CodeType.cs
Normal file
59
PdfSharp/Drawing.BarCodes/enums/CodeType.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
#region PDFsharp - A .NET library for processing PDF
|
||||
//
|
||||
// Authors:
|
||||
// Klaus Potzesny
|
||||
//
|
||||
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
|
||||
//
|
||||
// http://www.pdfsharp.com
|
||||
// http://sourceforge.net/projects/pdfsharp
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included
|
||||
// in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
namespace PdfSharp.Drawing.BarCodes
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the type of the bar code.
|
||||
/// </summary>
|
||||
public enum CodeType
|
||||
{
|
||||
/// <summary>
|
||||
/// The standard 2 of 5 interleaved bar code.
|
||||
/// </summary>
|
||||
// ReSharper disable once InconsistentNaming
|
||||
Code2of5Interleaved,
|
||||
|
||||
/// <summary>
|
||||
/// The standard 3 of 9 bar code.
|
||||
/// </summary>
|
||||
// ReSharper disable once InconsistentNaming
|
||||
Code3of9Standard,
|
||||
|
||||
/// <summary>
|
||||
/// The OMR code.
|
||||
/// </summary>
|
||||
Omr,
|
||||
|
||||
/// <summary>
|
||||
/// The data matrix code.
|
||||
/// </summary>
|
||||
DataMatrix,
|
||||
}
|
||||
}
|
68
PdfSharp/Drawing.BarCodes/enums/DataMatrixEncoding.cs
Normal file
68
PdfSharp/Drawing.BarCodes/enums/DataMatrixEncoding.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
#region PDFsharp - A .NET library for processing PDF
|
||||
//
|
||||
// Authors:
|
||||
// Klaus Potzesny
|
||||
//
|
||||
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
|
||||
//
|
||||
// http://www.pdfsharp.com
|
||||
// http://sourceforge.net/projects/pdfsharp
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included
|
||||
// in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
namespace PdfSharp.Drawing.BarCodes
|
||||
{
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
public enum DataMatrixEncoding
|
||||
{
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
Ascii,
|
||||
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
C40,
|
||||
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
Text,
|
||||
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
X12,
|
||||
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
// ReSharper disable once InconsistentNaming
|
||||
EDIFACT,
|
||||
|
||||
/// <summary>
|
||||
/// docDaSt
|
||||
/// </summary>
|
||||
Base256
|
||||
}
|
||||
}
|
50
PdfSharp/Drawing.BarCodes/enums/MarkDistance.cs
Normal file
50
PdfSharp/Drawing.BarCodes/enums/MarkDistance.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
#region PDFsharp - A .NET library for processing PDF
|
||||
//
|
||||
// Authors:
|
||||
// Klaus Potzesny
|
||||
//
|
||||
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
|
||||
//
|
||||
// http://www.pdfsharp.com
|
||||
// http://sourceforge.net/projects/pdfsharp
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included
|
||||
// in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
namespace PdfSharp.Drawing.BarCodes
|
||||
{
|
||||
///// <summary>
|
||||
///// Valid mark distances for OMR Codes.
|
||||
///// </summary>
|
||||
//public enum MarkDistance
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 2/6 inch, valid for printing with 6 lpi. (line height = 12 pt).
|
||||
// /// </summary>
|
||||
// Inch1_6,
|
||||
// /// <summary>
|
||||
// /// 2/6 inch, valid for printing with 6 lpi (line height = 12 pt).
|
||||
// /// </summary>
|
||||
// Inch2_6,
|
||||
// /// <summary>
|
||||
// /// 2/8 inch, valid for printing with 8 lpi (line height = 9 pt).
|
||||
// /// </summary>
|
||||
// Inch2_8
|
||||
//}
|
||||
}
|
64
PdfSharp/Drawing.BarCodes/enums/TextLocation.cs
Normal file
64
PdfSharp/Drawing.BarCodes/enums/TextLocation.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
#region PDFsharp - A .NET library for processing PDF
|
||||
//
|
||||
// Authors:
|
||||
// Klaus Potzesny
|
||||
//
|
||||
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
|
||||
//
|
||||
// http://www.pdfsharp.com
|
||||
// http://sourceforge.net/projects/pdfsharp
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included
|
||||
// in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
#endregion
|
||||
|
||||
namespace PdfSharp.Drawing.BarCodes
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies whether and how the text is displayed at the code.
|
||||
/// </summary>
|
||||
public enum TextLocation
|
||||
{
|
||||
/// <summary>
|
||||
/// No text is drawn.
|
||||
/// </summary>
|
||||
None,
|
||||
|
||||
/// <summary>
|
||||
/// The text is located above the code.
|
||||
/// </summary>
|
||||
Above,
|
||||
|
||||
/// <summary>
|
||||
/// The text is located below the code.
|
||||
/// </summary>
|
||||
Below,
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The text is located above within the code.
|
||||
/// </summary>
|
||||
AboveEmbedded,
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The text is located below within the code.
|
||||
/// </summary>
|
||||
BelowEmbedded,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user