C# 클래스 PC.PCPrint

상속: System.Drawing.Printing.PrintDocument
파일 보기 프로젝트 열기: ThomasMoreCollege/CinderellaMGS 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

OnBeginPrint() 보호된 메소드

Override the default OnBeginPrint method of the PrintDocument Object
protected OnBeginPrint ( System e ) : void
e System
리턴 void

OnPrintPage() 보호된 메소드

Override the default OnPrintPage method of the PrintDocument
This provides the print logic for our document
protected OnPrintPage ( System e ) : void
e System
리턴 void

PCPrint() 공개 메소드

Empty constructor
public PCPrint ( ) : System
리턴 System

PCPrint() 공개 메소드

Constructor to initialize our printing object and the text it's supposed to be printing
public PCPrint ( string str ) : System
str string Text that will be printed
리턴 System

RemoveZeros() 공개 메소드

Function to replace any zeros in the size to a 1 Zero's will mess up the printing area
public RemoveZeros ( int value ) : int
value int Value to check
리턴 int