GetDefaultPrinterName

レンダリングと印刷

説明

既定プリンターの名前を返します。この名前は PrintDocument または次で使用できます

NewCustomPrinter 関数

構文

Delphi

Function TPDFlib.GetDefaultPrinterName: WideString;

ActiveX

Function PDFlib::GetDefaultPrinterName() As String

DLL

const wchar_t* DLGetDefaultPrinterName(int InstanceID);
const char* DLGetDefaultPrinterNameA(int InstanceID);

戻り値

デフォルトプリンターの名前を返します。使用できるデフォルトプリンターがない場合は空文字列を返します