C# Класс PC.PCPrint

Наследование: System.Drawing.Printing.PrintDocument
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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