GetItemList method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

WPDLLInt

Declaration

function GetItemList(Editor: Integer; ListID: TxItemListIDS; Quoted: WordBool; const Delimiter: WideString): WideString;

You can use this method to get certain parameters and names from the editor 1 or 2.

The parameter ListID selects different string to be retrieved:

 

 wpScreenFonts = 0 // all fonts

 wpPrinterFonts = 1 // all fonts known by printer

 wpTTFonts = 2 // all true type fonts

 wpPrinterNames = 3 // names of all printers /also see GetPrinterList)

 wpPaperNames = 4 // paper names

 wpPrinterTrayNames = 5 // paper tray names

 wpActionNames = 6 // all know "wpa" action names

 wpDefaultColors = 7; // Colors as RGB Integer values

 wpUsedColors = 8 // Colors which are used in the text

 wpParStyleNames = 9 // all style names

 wpParStyleNamesWPCSS = 10 // all style names with definition ("name=...")

 wpParStyleNamesCSS = 11 // all style names with definition using CSS

 


[idh_wpdllint_getitemlist.htm]    Copyright © 2007 by WPCubed GmbH