메소드 | 설명 | |
---|---|---|
CardGenerator ( |
Creates a new CardGenerator instance
|
|
Generate ( string outputFile, byte chainId ) : void |
Generates the Cryptid ID card
|
|
ImageToBitmap ( |
Converts an iText image to a Bitmap
|
메소드 | 설명 | |
---|---|---|
TrimBitmap ( |
Trims the whitespace around a bitmap
|
public CardGenerator ( |
||
cardCandidate | The candidate to create the card for | |
pdfTemplateFile | string | The PDF template to generate the card |
리턴 | System |
public Generate ( string outputFile, byte chainId ) : void | ||
outputFile | string | The locaton to output the Cryptid ID |
chainId | byte | The chainId of this candidate |
리턴 | void |
public ImageToBitmap ( |
||
img | The iText image | |
리턴 |