Coder Social home page Coder Social logo

alexandrezaytsev / ricqrcode Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10 MB

Консольное приложение - создание файла с картинкой QR кода (fix imageSize) использует библиотеки MessagingToolkit.Barcode 1.7.0.1 и парсера командной строки CommandLineParser 2.8.0

C# 100.00%
qrcode console

ricqrcode's Introduction

RicQRCoder

Консольное приложение - создание файла с картинкой QR кода использует библиотеки:

Windows/собирал под .NET Framework 4.0
Использование и параметры (RicQRCode.exe --help)


RicQRCode 1.0.0
Copyright (c) 2021 cad.ru
USAGE:
Creates a QR image file from your content (string or file):
RicQRCode.exe --content "your content" --outFile "your FileName QRImageFile"

  • -i, --content Required. String or full File name with your content.
  • -o, --outFile Required. Output file. Full file name without extension (extension from outFormat parameter).
  • --outFormat (Default: png) Image format for outputfile. Valid values: Png, Jpg, Gif, Bmp, Tiff, Svg)
  • --eccLevel (Default: L) Error correction level: L-7%, M-15%, Q-25%, H-30%. Valid values: L, M, Q, H
  • --size (Default: 300) Size (px.) of the side of the square of the picture of the QR image.
  • --margin (Default: 1) Size (px.) of the frame around the qr code image (Margin).
  • --background (Default: #000000) Background color.
  • --foreground (Default: #FFFFFF) Foreground color.
  • -l, --logoPath Bitmap image logo from file (full file name with extension).
  • --help Display this help screen.
  • --version Display version information.

Good luck...


использую для документов MSOffice выпускаемых из CRM - создать файл на диске - вставить в документ в рамку Shape найденную по имени
например:

    For each Shape in docWord.Shapes ' цикл по всем Shapes документа   
      If ... Then    
        tmp = FSO.FindFile(vPathTemp & "\", Shape.Title, "png") 'попробовать найти файйл QR на диске
        if tmp<>"" then
          Shape.Fill.UserPicture vPathTemp & "\" & tmp  ' если есть вставить ссылку в Shape
       Else
          Shape.Fill.Visible = False    'если нет - загасить Shape 
       End if
     End if
     Shape.Line.Visible = False ' удалить рамку Shape в принципе (типа был обработан)
     Next

ricqrcode's People

Contributors

alexandrezaytsev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.