Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Visual C++ Example for PDF417 Encoder SDK/LIB

Visual C++ Example for PDF417 Encoder SDK/LIB 4 years 3 months ago #3886

void CPDF417Vc6TestDlg::OnEncode()
{
_PDF417CONTEXT tPDF417Ctx;

_InitPDF417Context(&tPDF417Ctx);

tPDF417Ctx.nErrorCorrectLevel = m_Level.GetCurSel()+1;

tPDF417Ctx.nColumns = m_nColumns;
tPDF417Ctx.nRows = m_nRows;
tPDF417Ctx.nMargin = m_nMargin;
tPDF417Ctx.nModuleWidth = 3;
tPDF417Ctx.nModuleHeight = 14;

tPDF417Ctx.clBackGround = m_BackColor.GetColor();
tPDF417Ctx.clForeGround = m_ForeColor.GetColor();
if (m_strText != "") memcpy(tPDF417Ctx.cData,m_strText.GetBuffer(0),m_strText.GetLength());
tPDF417Ctx.nSize = m_strText.GetLength();
_FreePDF417Context();
hbmp =_PDF417Encode2Bitmap(&tPDF417Ctx);

Invalidate();
}
The administrator has disabled public write access.

  • Posts:59
  • developer's Avatar
  • developer
  • Moderator
  • OFFLINE
  • Karma: 1
  • Page:
  • 1
Time to create page: 0.193 seconds
Powered by Kunena Forum :: Wibi