update 20250129
This commit is contained in:
@@ -861,7 +861,26 @@ namespace DOCGEN.Klassen
|
||||
//int rotation = 0;
|
||||
//if (docData.barcode_horizontal == 0) { rotation = 270; }
|
||||
barcodeimage = Barcode.Get_LinerBarcode(Barcoded.Symbology.I2of5, docData.Dokumentid.Substring(6, 16), docData.Dokumentid.Substring(6, 16) + docData.barcode_zusatz, docData.barcode_textposition, docData.Zusatz_Font, Convert.ToInt32(docData.Zusatz_FontSize), 0);
|
||||
//barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height,false);
|
||||
|
||||
BarcodeLib.clsBarI25 barbarcode = new BarcodeLib.clsBarI25();
|
||||
//barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 36, 350, 50, " "+docData.barcode_zusatz, docData.Zusatz_Font, Convert.ToInt32(docData.Zusatz_FontSize), 0);
|
||||
//barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width, docData.barcode_height, false);
|
||||
|
||||
//barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), docData.barcode_font, docData.barcode_fontsize, docData.barcode_width*2, docData.barcode_height+10, " " + docData.barcode_zusatz, docData.Zusatz_Font, docData.Zusatz_FontSize, 0);
|
||||
|
||||
//barcodeimage = AutoSizeImage(barcodeimage, docData.barcode_width*3, docData.barcode_height*3,false);
|
||||
|
||||
if (docData.barcode_horizontal == 0)
|
||||
{
|
||||
barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, " U", "Futur Book", 8,270);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, " U", "Futur Book", 8, 0);
|
||||
|
||||
}
|
||||
|
||||
//barcodeimage = ScaleImage(barcodeimage, docData.barcode_width, docData.barcode_height);
|
||||
//barcodeimage = resizeImage(barcodeimage, new Size(docData.barcode_width,docData.barcode_height));
|
||||
|
||||
@@ -906,9 +925,9 @@ namespace DOCGEN.Klassen
|
||||
//picture.Height = barcodeimage.Height;
|
||||
if (docData.barcode_horizontal == 0)
|
||||
{
|
||||
picture.Rotation = 270;
|
||||
// picture.Height = docData.barcode_height;
|
||||
// picture.Width = docData.barcode_width;
|
||||
picture.Rotation = 0;
|
||||
picture.Height = docData.barcode_width;
|
||||
picture.Width = docData.barcode_height;
|
||||
picture.VerticalPosition = docData.barcode_top; ;
|
||||
picture.HorizontalPosition = docData.barcode_left;
|
||||
|
||||
@@ -917,8 +936,8 @@ namespace DOCGEN.Klassen
|
||||
else
|
||||
{
|
||||
picture.Rotation = 0;
|
||||
//picture.Height = docData.barcode_height;
|
||||
//picture.Width = docData.barcode_width;
|
||||
picture.Height = docData.barcode_height;
|
||||
picture.Width = docData.barcode_width;
|
||||
picture.VerticalPosition = docData.barcode_top; ;
|
||||
picture.HorizontalPosition = docData.barcode_left;
|
||||
|
||||
@@ -929,8 +948,8 @@ namespace DOCGEN.Klassen
|
||||
}
|
||||
if (docData.barcode_type == "0")
|
||||
{
|
||||
picture.Width = docData.barcode_width;
|
||||
picture.Height = docData.barcode_height;
|
||||
// picture.Width = docData.barcode_width;
|
||||
// picture.Height = docData.barcode_height;
|
||||
|
||||
}
|
||||
WPicture picture2 = new WPicture(document);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
DOCGEN/bin/Debug/VBOffice.dll
Normal file
BIN
DOCGEN/bin/Debug/VBOffice.dll
Normal file
Binary file not shown.
BIN
DOCGEN/bin/Debug/VBOffice.pdb
Normal file
BIN
DOCGEN/bin/Debug/VBOffice.pdb
Normal file
Binary file not shown.
26
DOCGEN/bin/Debug/VBOffice.xml
Normal file
26
DOCGEN/bin/Debug/VBOffice.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>
|
||||
VBOffice
|
||||
</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:VBOffice.My.Resources.Resources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:VBOffice.My.Resources.Resources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:VBOffice.My.Resources.Resources.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
Binary file not shown.
@@ -148,3 +148,6 @@ E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\MW6.SDK.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\BarcodeLibVBDatamatrix.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\BarcodeLibVBDatamatrix.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\BarcodeLibVBDatamatrix.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\VBOffice.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\VBOffice.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\DOCGEN\bin\Debug\VBOffice.xml
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user