메소드 | 설명 | |
---|---|---|
PCPrint ( ) : System |
Empty constructor
|
|
PCPrint ( string str ) : System |
Constructor to initialize our printing object and the text it's supposed to be printing
|
|
RemoveZeros ( int value ) : int |
Function to replace any zeros in the size to a 1 Zero's will mess up the printing area
|
메소드 | 설명 | |
---|---|---|
OnBeginPrint ( System e ) : void |
Override the default OnBeginPrint method of the PrintDocument Object
|
|
OnPrintPage ( System e ) : void |
Override the default OnPrintPage method of the PrintDocument This provides the print logic for our document |
public PCPrint ( string str ) : System | ||
str | string | Text that will be printed |
리턴 | System |