## PrintDocument class


Invia l'output a una stampante, quando si stampa da un'applicazione [Windows](../../system.windows/) Forms. Gli oggetti di questa classe dovrebbero essere allocati solo utilizzando la funzione [System::MakeObject()](../../system/makeobject/). Non creare mai un'istanza di questo tipo sullo stack o usando l'operatore new, poiché ciò provocherà errori di runtime e/o fault di asserzione. Avvolgi sempre questa classe in un puntatore [System::SmartPtr](../../system/smartptr/) e utilizza questo puntatore per passarlo alle funzioni come argomento.

```cpp
class PrintDocument : public System::Object
```

## Metodi

| Metodo | Descrizione |
| --- | --- |
| [get_PrinterSettings](./get_printersettings/)() | NOT IMPLEMENTED. |
| [Print](./print/)() | NOT IMPLEMENTED. |
| [set_DocumentName](./set_documentname/)(const String\&) | NOT IMPLEMENTED. |
| [set_PrintController](./set_printcontroller/)(const SharedPtr\<PrintController\>\&) | NOT IMPLEMENTED. |
| [set_PrinterSettings](./set_printersettings/)(const SharedPtr\<PrinterSettings\>\&) | NOT IMPLEMENTED. |
## Vedi anche

* Class [Object](../../system/object/)
* Namespace [System::Drawing::Printing](../)
* Library [Aspose.Page for C++](../../)
