## PrintDocument class


يرسل الإخراج إلى طابعة عند الطباعة من تطبيق [Windows](../../system.windows/) Forms. يجب تخصيص كائنات هذه الفئة فقط باستخدام الدالة [System::MakeObject()](../../system/makeobject/) . لا تقم بإنشاء مثال من هذا النوع على المكدس أو باستخدام المشغل new، حيث سيؤدي ذلك إلى أخطاء وقت التشغيل و/أو أخطاء التأكيد. احرص دائمًا على تغليف هذه الفئة في مؤشر [System::SmartPtr](../../system/smartptr/) واستخدام هذا المؤشر لتمريره إلى الدوال كمعامل.

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

## الطرق

| طريقة | الوصف |
| --- | --- |
| [get_PrinterSettings](./get_printersettings/)() | غير مُنفَّذ. |
| [Print](./print/)() | غير مُنفَّذ. |
| [set_DocumentName](./set_documentname/)(const String\&) | غير مُنفَّذ. |
| [set_PrintController](./set_printcontroller/)(const SharedPtr\<PrintController\>\&) | غير مُنفَّذ. |
| [set_PrinterSettings](./set_printersettings/)(const SharedPtr\<PrinterSettings\>\&) | غير مُنفَّذ. |
## انظر أيضًا

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