You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.1 KiB

/*
DataMatrix.Net
DataMatrix.Net - .net library for decoding DataMatrix codes.
Copyright (C) 2009/2010 Michael Faschinger
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
You can also redistribute and/or modify it under the terms of the
GNU Lesser General Public License as published by the Free Software
Foundation; either version 3.0 of the License or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License or the GNU Lesser General Public License
for more details.
You should have received a copy of the GNU General Public
License and the GNU Lesser General Public License along with this
library; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Contact: Michael Faschinger - michfasch@gmx.at
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace DataMatrix.net
{
public class DmtxImageEncoderOptions
{
#region Constructor
public DmtxImageEncoderOptions()
{
BackColor = Color.White;
ForeColor = Color.Black;
SizeIdx = DmtxSymbolSize.DmtxSymbolSquareAuto;
Scheme = DmtxScheme.DmtxSchemeAscii;
ModuleSize = 5;
MarginSize = 10;
Encoding = Encoding.ASCII;
}
#endregion
#region Properties
public int MarginSize { get; set; }
public int ModuleSize { get; set; }
public DmtxScheme Scheme { get; set; }
public DmtxSymbolSize SizeIdx { get; set; }
public Color ForeColor { get; set; }
public Color BackColor { get; set; }
public Encoding Encoding { get; set; }
#endregion
}
}