Project(String,String,Int32,Boolean,Boolean,String,String) Method
In This Topic
Prints all pages of the given project on the specified printer.
Syntax
public void Project(
string ,
string ,
int ,
bool ,
bool ,
string ,
string
)
public:
void Project(
String^ ,
String^ ,
int ,
bool ,
bool ,
String^ ,
String^
)
Parameters
- strPrinterName
- Printer name.
- strFullLinkFileName
- Full link file name of the project to be printed.
- dNumber
- Number of copies to print.
- bPrintCollate
- Collate output.
- bPrintReverse
- Reverse printing.
- strTargetFile
- Full file name of the output \file in case of printing to \file.
- strLanguage
- Language of printed project
Exceptions
Exception | Description |
ArgumentException | Thrown
in
case
of
invalid
\parameters,
e.g.
the
project
does
not
exist. |
ArgumentNullException | Thrown
if
a
parameter
is
set
to
null. |
ApplicationException | The
\internal
interface
necessary
for
printing
could
not
be
created. |
Eplan\:\:EplApi\:\:Base\:\:BaseException | An
error
occurred
during
the
print
process. |
Eplan\:\:EplApi\:\:HEServices\:\:Exceptions\:\:PrinterMissing | The
given
printer
could
not
be
found. |
Eplan\:\:EplApi\:\:DataModel\:\:OperationCanceledException | The
print
process
was
canceled
by
the
user. |
Eplan\:\:EplApi\:\:HEServices\:\:Exceptions\:\:UnknownPrinter | Some
undefined
error
occurred,
e.g.
HDC
could
not
be
created. |
See Also