private const string KeyTextAttr = "MV_BARCODE_GENERATE_ATTR_TEXT";
private const string KeyForegroundColorAttr = "MV_BARCODE_GENERATE_ATTR_COLOR_FRONT";
private const string KeyBackgroundColorAttr = "MV_BARCODE_GENERATE_ATTR_COLOR_BACK";
+ private const string KeyEmbedImageAbsolutePathAttr = "MV_BARCODE_GENERATE_ATTR_EMBED_IMG_PATH";
+ private const string KeyDataShapeAttr = "MV_BARCODE_GENERATE_ATTR_DATA_SHAPE";
+ private const string KeyFinderShapeAttr = "MV_BARCODE_GENERATE_ATTR_FINDER_SHAPE";
/// <summary>
/// Initializes a new instance of the <see cref="BarcodeGenerationConfiguration"/> class.
/// Gets or sets the text visibility of the barcode to be generated.
/// </summary>
/// <exception cref="ArgumentException"><paramref name="value"/> is not valid.</exception>
- /// <exception cref="ObjectDisposedException">The <see cref="BarcodeGenerationConfiguration"/> already has been disposed of.</exception>
+ /// <exception cref="ObjectDisposedException">The <see cref="BarcodeGenerationConfiguration"/> already has been disposed.</exception>
/// <since_tizen> 4 </since_tizen>
public Visibility TextVisibility
{
/// <remarks>
/// The alpha value of the color will be ignored.
/// </remarks>
- /// <exception cref="ObjectDisposedException">The <see cref="BarcodeGenerationConfiguration"/> already has been disposed of.</exception>
+ /// <exception cref="ObjectDisposedException">The <see cref="BarcodeGenerationConfiguration"/> already has been disposed.</exception>
/// <since_tizen> 4 </since_tizen>
public Color ForegroundColor
{
/// <remarks>
/// The alpha value of the color will be ignored.
/// </remarks>
- /// <exception cref="ObjectDisposedException">The <see cref="BarcodeGenerationConfiguration"/> already has been disposed of.</exception>
+ /// <exception cref="ObjectDisposedException">The <see cref="BarcodeGenerationConfiguration"/> already has been disposed.</exception>
/// <since_tizen> 4 </since_tizen>
public Color BackgroundColor
{
_backgroundColor = value;
}
}
+
+ internal string EmbedImagePath
+ {
+ get
+ {
+ return GetString(KeyEmbedImageAbsolutePathAttr);
+ }
+ set
+ {
+ // Validation is already checked in QrConfiguration.
+ Set(KeyEmbedImageAbsolutePathAttr, value);
+ }
+ }
+
+ internal QrShape DataShape
+ {
+ get
+ {
+ return (QrShape)GetInt(KeyDataShapeAttr);
+ }
+ set
+ {
+ // Validation is already checked in QrConfiguration.
+ Set(KeyDataShapeAttr, (int)value);
+ }
+ }
+
+ internal QrShape FinderShape
+ {
+ get
+ {
+ return (QrShape)GetInt(KeyFinderShapeAttr);
+ }
+ set
+ {
+ // Validation is already checked in QrConfiguration.
+ Set(KeyFinderShapeAttr, (int)value);
+ }
+ }
}
}