home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / lead.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-25  |  99.6 KB  |  5,186 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6.  
  7. #include "stdafx.h"
  8. #include "lead.h"
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. #include "Font.h"
  12. #include "Picture.h"
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CLead
  16.  
  17. IMPLEMENT_DYNCREATE(CLead, CWnd)
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CLead properties
  21.  
  22. BOOL CLead::GetAutoSize()
  23. {
  24.     BOOL result;
  25.     GetProperty(0xfffffe0c, VT_BOOL, (void*)&result);
  26.     return result;
  27. }
  28.  
  29. void CLead::SetAutoSize(BOOL propVal)
  30. {
  31.     SetProperty(0xfffffe0c, VT_BOOL, propVal);
  32. }
  33.  
  34. long CLead::GetReadyState()
  35. {
  36.     long result;
  37.     GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
  38.     return result;
  39. }
  40.  
  41. void CLead::SetReadyState(long propVal)
  42. {
  43.     SetProperty(DISPID_READYSTATE, VT_I4, propVal);
  44. }
  45.  
  46. short CLead::GetAppearance()
  47. {
  48.     short result;
  49.     GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
  50.     return result;
  51. }
  52.  
  53. void CLead::SetAppearance(short propVal)
  54. {
  55.     SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
  56. }
  57.  
  58. OLE_HANDLE CLead::GetHWnd()
  59. {
  60.     OLE_HANDLE result;
  61.     GetProperty(DISPID_HWND, VT_I4, (void*)&result);
  62.     return result;
  63. }
  64.  
  65. void CLead::SetHWnd(OLE_HANDLE propVal)
  66. {
  67.     SetProperty(DISPID_HWND, VT_I4, propVal);
  68. }
  69.  
  70. COleFont CLead::GetFont()
  71. {
  72.     LPDISPATCH pDispatch;
  73.     GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
  74.     return COleFont(pDispatch);
  75. }
  76.  
  77. void CLead::SetFont(LPDISPATCH propVal)
  78. {
  79.     SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
  80. }
  81.  
  82. BOOL CLead::GetEnabled()
  83. {
  84.     BOOL result;
  85.     GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
  86.     return result;
  87. }
  88.  
  89. void CLead::SetEnabled(BOOL propVal)
  90. {
  91.     SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
  92. }
  93.  
  94. short CLead::GetBorderStyle()
  95. {
  96.     short result;
  97.     GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
  98.     return result;
  99. }
  100.  
  101. void CLead::SetBorderStyle(short propVal)
  102. {
  103.     SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
  104. }
  105.  
  106. OLE_COLOR CLead::GetBackColor()
  107. {
  108.     OLE_COLOR result;
  109.     GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
  110.     return result;
  111. }
  112.  
  113. void CLead::SetBackColor(OLE_COLOR propVal)
  114. {
  115.     SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
  116. }
  117.  
  118. long CLead::GetBitmap()
  119. {
  120.     long result;
  121.     GetProperty(0x1, VT_I4, (void*)&result);
  122.     return result;
  123. }
  124.  
  125. void CLead::SetBitmap(long propVal)
  126. {
  127.     SetProperty(0x1, VT_I4, propVal);
  128. }
  129.  
  130. BOOL CLead::GetAutoRepaint()
  131. {
  132.     BOOL result;
  133.     GetProperty(0x2, VT_BOOL, (void*)&result);
  134.     return result;
  135. }
  136.  
  137. void CLead::SetAutoRepaint(BOOL propVal)
  138. {
  139.     SetProperty(0x2, VT_BOOL, propVal);
  140. }
  141.  
  142. short CLead::GetPaintEffect()
  143. {
  144.     short result;
  145.     GetProperty(0x3, VT_I2, (void*)&result);
  146.     return result;
  147. }
  148.  
  149. void CLead::SetPaintEffect(short propVal)
  150. {
  151.     SetProperty(0x3, VT_I2, propVal);
  152. }
  153.  
  154. BOOL CLead::GetBackErase()
  155. {
  156.     BOOL result;
  157.     GetProperty(0x4, VT_BOOL, (void*)&result);
  158.     return result;
  159. }
  160.  
  161. void CLead::SetBackErase(BOOL propVal)
  162. {
  163.     SetProperty(0x4, VT_BOOL, propVal);
  164. }
  165.  
  166. BOOL CLead::GetAutoScroll()
  167. {
  168.     BOOL result;
  169.     GetProperty(0x5, VT_BOOL, (void*)&result);
  170.     return result;
  171. }
  172.  
  173. void CLead::SetAutoScroll(BOOL propVal)
  174. {
  175.     SetProperty(0x5, VT_BOOL, propVal);
  176. }
  177.  
  178. short CLead::GetPaintDither()
  179. {
  180.     short result;
  181.     GetProperty(0x6, VT_I2, (void*)&result);
  182.     return result;
  183. }
  184.  
  185. void CLead::SetPaintDither(short propVal)
  186. {
  187.     SetProperty(0x6, VT_I2, propVal);
  188. }
  189.  
  190. BOOL CLead::GetEnableProgressEvent()
  191. {
  192.     BOOL result;
  193.     GetProperty(0x7, VT_BOOL, (void*)&result);
  194.     return result;
  195. }
  196.  
  197. void CLead::SetEnableProgressEvent(BOOL propVal)
  198. {
  199.     SetProperty(0x7, VT_BOOL, propVal);
  200. }
  201.  
  202. short CLead::GetBitonalScaling()
  203. {
  204.     short result;
  205.     GetProperty(0x8, VT_I2, (void*)&result);
  206.     return result;
  207. }
  208.  
  209. void CLead::SetBitonalScaling(short propVal)
  210. {
  211.     SetProperty(0x8, VT_I2, propVal);
  212. }
  213.  
  214. BOOL CLead::GetPaintWhileLoad()
  215. {
  216.     BOOL result;
  217.     GetProperty(0x9, VT_BOOL, (void*)&result);
  218.     return result;
  219. }
  220.  
  221. void CLead::SetPaintWhileLoad(BOOL propVal)
  222. {
  223.     SetProperty(0x9, VT_BOOL, propVal);
  224. }
  225.  
  226. float CLead::GetBitmapWidth()
  227. {
  228.     float result;
  229.     GetProperty(0xa, VT_R4, (void*)&result);
  230.     return result;
  231. }
  232.  
  233. void CLead::SetBitmapWidth(float propVal)
  234. {
  235.     SetProperty(0xa, VT_R4, propVal);
  236. }
  237.  
  238. float CLead::GetBitmapHeight()
  239. {
  240.     float result;
  241.     GetProperty(0xb, VT_R4, (void*)&result);
  242.     return result;
  243. }
  244.  
  245. void CLead::SetBitmapHeight(float propVal)
  246. {
  247.     SetProperty(0xb, VT_R4, propVal);
  248. }
  249.  
  250. short CLead::GetBitmapBits()
  251. {
  252.     short result;
  253.     GetProperty(0xc, VT_I2, (void*)&result);
  254.     return result;
  255. }
  256.  
  257. void CLead::SetBitmapBits(short propVal)
  258. {
  259.     SetProperty(0xc, VT_I2, propVal);
  260. }
  261.  
  262. short CLead::GetVersionLevel()
  263. {
  264.     short result;
  265.     GetProperty(0xd, VT_I2, (void*)&result);
  266.     return result;
  267. }
  268.  
  269. void CLead::SetVersionLevel(short propVal)
  270. {
  271.     SetProperty(0xd, VT_I2, propVal);
  272. }
  273.  
  274. short CLead::GetVersionMajor()
  275. {
  276.     short result;
  277.     GetProperty(0xe, VT_I2, (void*)&result);
  278.     return result;
  279. }
  280.  
  281. void CLead::SetVersionMajor(short propVal)
  282. {
  283.     SetProperty(0xe, VT_I2, propVal);
  284. }
  285.  
  286. short CLead::GetVersionMinor()
  287. {
  288.     short result;
  289.     GetProperty(0xf, VT_I2, (void*)&result);
  290.     return result;
  291. }
  292.  
  293. void CLead::SetVersionMinor(short propVal)
  294. {
  295.     SetProperty(0xf, VT_I2, propVal);
  296. }
  297.  
  298. CString CLead::GetVersionProduct()
  299. {
  300.     CString result;
  301.     GetProperty(0x10, VT_BSTR, (void*)&result);
  302.     return result;
  303. }
  304.  
  305. void CLead::SetVersionProduct(LPCTSTR propVal)
  306. {
  307.     SetProperty(0x10, VT_BSTR, propVal);
  308. }
  309.  
  310. CString CLead::GetVersionDate()
  311. {
  312.     CString result;
  313.     GetProperty(0x11, VT_BSTR, (void*)&result);
  314.     return result;
  315. }
  316.  
  317. void CLead::SetVersionDate(LPCTSTR propVal)
  318. {
  319.     SetProperty(0x11, VT_BSTR, propVal);
  320. }
  321.  
  322. CString CLead::GetVersionTime()
  323. {
  324.     CString result;
  325.     GetProperty(0x12, VT_BSTR, (void*)&result);
  326.     return result;
  327. }
  328.  
  329. void CLead::SetVersionTime(LPCTSTR propVal)
  330. {
  331.     SetProperty(0x12, VT_BSTR, propVal);
  332. }
  333.  
  334. short CLead::GetPaintPalette()
  335. {
  336.     short result;
  337.     GetProperty(0x13, VT_I2, (void*)&result);
  338.     return result;
  339. }
  340.  
  341. void CLead::SetPaintPalette(short propVal)
  342. {
  343.     SetProperty(0x13, VT_I2, propVal);
  344. }
  345.  
  346. BOOL CLead::GetEnableMethodErrors()
  347. {
  348.     BOOL result;
  349.     GetProperty(0x14, VT_BOOL, (void*)&result);
  350.     return result;
  351. }
  352.  
  353. void CLead::SetEnableMethodErrors(BOOL propVal)
  354. {
  355.     SetProperty(0x14, VT_BOOL, propVal);
  356. }
  357.  
  358. float CLead::GetDstLeft()
  359. {
  360.     float result;
  361.     GetProperty(0x15, VT_R4, (void*)&result);
  362.     return result;
  363. }
  364.  
  365. void CLead::SetDstLeft(float propVal)
  366. {
  367.     SetProperty(0x15, VT_R4, propVal);
  368. }
  369.  
  370. float CLead::GetDstTop()
  371. {
  372.     float result;
  373.     GetProperty(0x16, VT_R4, (void*)&result);
  374.     return result;
  375. }
  376.  
  377. void CLead::SetDstTop(float propVal)
  378. {
  379.     SetProperty(0x16, VT_R4, propVal);
  380. }
  381.  
  382. float CLead::GetDstWidth()
  383. {
  384.     float result;
  385.     GetProperty(0x17, VT_R4, (void*)&result);
  386.     return result;
  387. }
  388.  
  389. void CLead::SetDstWidth(float propVal)
  390. {
  391.     SetProperty(0x17, VT_R4, propVal);
  392. }
  393.  
  394. float CLead::GetDstHeight()
  395. {
  396.     float result;
  397.     GetProperty(0x18, VT_R4, (void*)&result);
  398.     return result;
  399. }
  400.  
  401. void CLead::SetDstHeight(float propVal)
  402. {
  403.     SetProperty(0x18, VT_R4, propVal);
  404. }
  405.  
  406. float CLead::GetDstClipLeft()
  407. {
  408.     float result;
  409.     GetProperty(0x19, VT_R4, (void*)&result);
  410.     return result;
  411. }
  412.  
  413. void CLead::SetDstClipLeft(float propVal)
  414. {
  415.     SetProperty(0x19, VT_R4, propVal);
  416. }
  417.  
  418. float CLead::GetDstClipTop()
  419. {
  420.     float result;
  421.     GetProperty(0x1a, VT_R4, (void*)&result);
  422.     return result;
  423. }
  424.  
  425. void CLead::SetDstClipTop(float propVal)
  426. {
  427.     SetProperty(0x1a, VT_R4, propVal);
  428. }
  429.  
  430. float CLead::GetDstClipWidth()
  431. {
  432.     float result;
  433.     GetProperty(0x1b, VT_R4, (void*)&result);
  434.     return result;
  435. }
  436.  
  437. void CLead::SetDstClipWidth(float propVal)
  438. {
  439.     SetProperty(0x1b, VT_R4, propVal);
  440. }
  441.  
  442. float CLead::GetDstClipHeight()
  443. {
  444.     float result;
  445.     GetProperty(0x1c, VT_R4, (void*)&result);
  446.     return result;
  447. }
  448.  
  449. void CLead::SetDstClipHeight(float propVal)
  450. {
  451.     SetProperty(0x1c, VT_R4, propVal);
  452. }
  453.  
  454. float CLead::GetSrcLeft()
  455. {
  456.     float result;
  457.     GetProperty(0x1d, VT_R4, (void*)&result);
  458.     return result;
  459. }
  460.  
  461. void CLead::SetSrcLeft(float propVal)
  462. {
  463.     SetProperty(0x1d, VT_R4, propVal);
  464. }
  465.  
  466. float CLead::GetSrcTop()
  467. {
  468.     float result;
  469.     GetProperty(0x1e, VT_R4, (void*)&result);
  470.     return result;
  471. }
  472.  
  473. void CLead::SetSrcTop(float propVal)
  474. {
  475.     SetProperty(0x1e, VT_R4, propVal);
  476. }
  477.  
  478. float CLead::GetSrcWidth()
  479. {
  480.     float result;
  481.     GetProperty(0x1f, VT_R4, (void*)&result);
  482.     return result;
  483. }
  484.  
  485. void CLead::SetSrcWidth(float propVal)
  486. {
  487.     SetProperty(0x1f, VT_R4, propVal);
  488. }
  489.  
  490. float CLead::GetSrcHeight()
  491. {
  492.     float result;
  493.     GetProperty(0x20, VT_R4, (void*)&result);
  494.     return result;
  495. }
  496.  
  497. void CLead::SetSrcHeight(float propVal)
  498. {
  499.     SetProperty(0x20, VT_R4, propVal);
  500. }
  501.  
  502. float CLead::GetSrcClipLeft()
  503. {
  504.     float result;
  505.     GetProperty(0x21, VT_R4, (void*)&result);
  506.     return result;
  507. }
  508.  
  509. void CLead::SetSrcClipLeft(float propVal)
  510. {
  511.     SetProperty(0x21, VT_R4, propVal);
  512. }
  513.  
  514. float CLead::GetSrcClipTop()
  515. {
  516.     float result;
  517.     GetProperty(0x22, VT_R4, (void*)&result);
  518.     return result;
  519. }
  520.  
  521. void CLead::SetSrcClipTop(float propVal)
  522. {
  523.     SetProperty(0x22, VT_R4, propVal);
  524. }
  525.  
  526. float CLead::GetSrcClipWidth()
  527. {
  528.     float result;
  529.     GetProperty(0x23, VT_R4, (void*)&result);
  530.     return result;
  531. }
  532.  
  533. void CLead::SetSrcClipWidth(float propVal)
  534. {
  535.     SetProperty(0x23, VT_R4, propVal);
  536. }
  537.  
  538. float CLead::GetSrcClipHeight()
  539. {
  540.     float result;
  541.     GetProperty(0x24, VT_R4, (void*)&result);
  542.     return result;
  543. }
  544.  
  545. void CLead::SetSrcClipHeight(float propVal)
  546. {
  547.     SetProperty(0x24, VT_R4, propVal);
  548. }
  549.  
  550. short CLead::GetBitmapXRes()
  551. {
  552.     short result;
  553.     GetProperty(0x25, VT_I2, (void*)&result);
  554.     return result;
  555. }
  556.  
  557. void CLead::SetBitmapXRes(short propVal)
  558. {
  559.     SetProperty(0x25, VT_I2, propVal);
  560. }
  561.  
  562. short CLead::GetBitmapYRes()
  563. {
  564.     short result;
  565.     GetProperty(0x26, VT_I2, (void*)&result);
  566.     return result;
  567. }
  568.  
  569. void CLead::SetBitmapYRes(short propVal)
  570. {
  571.     SetProperty(0x26, VT_I2, propVal);
  572. }
  573.  
  574. short CLead::GetInfoPage()
  575. {
  576.     short result;
  577.     GetProperty(0x27, VT_I2, (void*)&result);
  578.     return result;
  579. }
  580.  
  581. void CLead::SetInfoPage(short propVal)
  582. {
  583.     SetProperty(0x27, VT_I2, propVal);
  584. }
  585.  
  586. float CLead::GetInfoWidth()
  587. {
  588.     float result;
  589.     GetProperty(0x28, VT_R4, (void*)&result);
  590.     return result;
  591. }
  592.  
  593. void CLead::SetInfoWidth(float propVal)
  594. {
  595.     SetProperty(0x28, VT_R4, propVal);
  596. }
  597.  
  598. float CLead::GetInfoHeight()
  599. {
  600.     float result;
  601.     GetProperty(0x29, VT_R4, (void*)&result);
  602.     return result;
  603. }
  604.  
  605. void CLead::SetInfoHeight(float propVal)
  606. {
  607.     SetProperty(0x29, VT_R4, propVal);
  608. }
  609.  
  610. short CLead::GetInfoBits()
  611. {
  612.     short result;
  613.     GetProperty(0x2a, VT_I2, (void*)&result);
  614.     return result;
  615. }
  616.  
  617. void CLead::SetInfoBits(short propVal)
  618. {
  619.     SetProperty(0x2a, VT_I2, propVal);
  620. }
  621.  
  622. short CLead::GetInfoFormat()
  623. {
  624.     short result;
  625.     GetProperty(0x2b, VT_I2, (void*)&result);
  626.     return result;
  627. }
  628.  
  629. void CLead::SetInfoFormat(short propVal)
  630. {
  631.     SetProperty(0x2b, VT_I2, propVal);
  632. }
  633.  
  634. long CLead::GetInfoSizeDisk()
  635. {
  636.     long result;
  637.     GetProperty(0x2c, VT_I4, (void*)&result);
  638.     return result;
  639. }
  640.  
  641. void CLead::SetInfoSizeDisk(long propVal)
  642. {
  643.     SetProperty(0x2c, VT_I4, propVal);
  644. }
  645.  
  646. long CLead::GetInfoSizeMem()
  647. {
  648.     long result;
  649.     GetProperty(0x2d, VT_I4, (void*)&result);
  650.     return result;
  651. }
  652.  
  653. void CLead::SetInfoSizeMem(long propVal)
  654. {
  655.     SetProperty(0x2d, VT_I4, propVal);
  656. }
  657.  
  658. CString CLead::GetInfoCompress()
  659. {
  660.     CString result;
  661.     GetProperty(0x2e, VT_BSTR, (void*)&result);
  662.     return result;
  663. }
  664.  
  665. void CLead::SetInfoCompress(LPCTSTR propVal)
  666. {
  667.     SetProperty(0x2e, VT_BSTR, propVal);
  668. }
  669.  
  670. BOOL CLead::GetEnableTwainEvent()
  671. {
  672.     BOOL result;
  673.     GetProperty(0x2f, VT_BOOL, (void*)&result);
  674.     return result;
  675. }
  676.  
  677. void CLead::SetEnableTwainEvent(BOOL propVal)
  678. {
  679.     SetProperty(0x2f, VT_BOOL, propVal);
  680. }
  681.  
  682. BOOL CLead::GetRubberBandVisible()
  683. {
  684.     BOOL result;
  685.     GetProperty(0x30, VT_BOOL, (void*)&result);
  686.     return result;
  687. }
  688.  
  689. void CLead::SetRubberBandVisible(BOOL propVal)
  690. {
  691.     SetProperty(0x30, VT_BOOL, propVal);
  692. }
  693.  
  694. float CLead::GetRubberBandLeft()
  695. {
  696.     float result;
  697.     GetProperty(0x31, VT_R4, (void*)&result);
  698.     return result;
  699. }
  700.  
  701. void CLead::SetRubberBandLeft(float propVal)
  702. {
  703.     SetProperty(0x31, VT_R4, propVal);
  704. }
  705.  
  706. float CLead::GetRubberBandTop()
  707. {
  708.     float result;
  709.     GetProperty(0x32, VT_R4, (void*)&result);
  710.     return result;
  711. }
  712.  
  713. void CLead::SetRubberBandTop(float propVal)
  714. {
  715.     SetProperty(0x32, VT_R4, propVal);
  716. }
  717.  
  718. float CLead::GetRubberBandWidth()
  719. {
  720.     float result;
  721.     GetProperty(0x33, VT_R4, (void*)&result);
  722.     return result;
  723. }
  724.  
  725. void CLead::SetRubberBandWidth(float propVal)
  726. {
  727.     SetProperty(0x33, VT_R4, propVal);
  728. }
  729.  
  730. float CLead::GetRubberBandHeight()
  731. {
  732.     float result;
  733.     GetProperty(0x34, VT_R4, (void*)&result);
  734.     return result;
  735. }
  736.  
  737. void CLead::SetRubberBandHeight(float propVal)
  738. {
  739.     SetProperty(0x34, VT_R4, propVal);
  740. }
  741.  
  742. short CLead::GetPCDRes()
  743. {
  744.     short result;
  745.     GetProperty(0x35, VT_I2, (void*)&result);
  746.     return result;
  747. }
  748.  
  749. void CLead::SetPCDRes(short propVal)
  750. {
  751.     SetProperty(0x35, VT_I2, propVal);
  752. }
  753.  
  754. short CLead::GetMousePointer()
  755. {
  756.     short result;
  757.     GetProperty(0x36, VT_I2, (void*)&result);
  758.     return result;
  759. }
  760.  
  761. void CLead::SetMousePointer(short propVal)
  762. {
  763.     SetProperty(0x36, VT_I2, propVal);
  764. }
  765.  
  766. CPicture CLead::GetMouseIcon()
  767. {
  768.     LPDISPATCH pDispatch;
  769.     GetProperty(0x37, VT_DISPATCH, (void*)&pDispatch);
  770.     return CPicture(pDispatch);
  771. }
  772.  
  773. void CLead::SetMouseIcon(LPDISPATCH propVal)
  774. {
  775.     SetProperty(0x37, VT_DISPATCH, propVal);
  776. }
  777.  
  778. short CLead::GetScaleMode()
  779. {
  780.     short result;
  781.     GetProperty(0x38, VT_I2, (void*)&result);
  782.     return result;
  783. }
  784.  
  785. void CLead::SetScaleMode(short propVal)
  786. {
  787.     SetProperty(0x38, VT_I2, propVal);
  788. }
  789.  
  790. BOOL CLead::GetAutoSetRects()
  791. {
  792.     BOOL result;
  793.     GetProperty(0x39, VT_BOOL, (void*)&result);
  794.     return result;
  795. }
  796.  
  797. void CLead::SetAutoSetRects(BOOL propVal)
  798. {
  799.     SetProperty(0x39, VT_BOOL, propVal);
  800. }
  801.  
  802. float CLead::GetScaleLeft()
  803. {
  804.     float result;
  805.     GetProperty(0x3a, VT_R4, (void*)&result);
  806.     return result;
  807. }
  808.  
  809. void CLead::SetScaleLeft(float propVal)
  810. {
  811.     SetProperty(0x3a, VT_R4, propVal);
  812. }
  813.  
  814. float CLead::GetScaleTop()
  815. {
  816.     float result;
  817.     GetProperty(0x3b, VT_R4, (void*)&result);
  818.     return result;
  819. }
  820.  
  821. void CLead::SetScaleTop(float propVal)
  822. {
  823.     SetProperty(0x3b, VT_R4, propVal);
  824. }
  825.  
  826. float CLead::GetScaleWidth()
  827. {
  828.     float result;
  829.     GetProperty(0x3c, VT_R4, (void*)&result);
  830.     return result;
  831. }
  832.  
  833. void CLead::SetScaleWidth(float propVal)
  834. {
  835.     SetProperty(0x3c, VT_R4, propVal);
  836. }
  837.  
  838. float CLead::GetScaleHeight()
  839. {
  840.     float result;
  841.     GetProperty(0x3d, VT_R4, (void*)&result);
  842.     return result;
  843. }
  844.  
  845. void CLead::SetScaleHeight(float propVal)
  846. {
  847.     SetProperty(0x3d, VT_R4, propVal);
  848. }
  849.  
  850. BOOL CLead::GetDbCanAppend()
  851. {
  852.     BOOL result;
  853.     GetProperty(0x3e, VT_BOOL, (void*)&result);
  854.     return result;
  855. }
  856.  
  857. void CLead::SetDbCanAppend(BOOL propVal)
  858. {
  859.     SetProperty(0x3e, VT_BOOL, propVal);
  860. }
  861.  
  862. BOOL CLead::GetDbCanRestart()
  863. {
  864.     BOOL result;
  865.     GetProperty(0x3f, VT_BOOL, (void*)&result);
  866.     return result;
  867. }
  868.  
  869. void CLead::SetDbCanRestart(BOOL propVal)
  870. {
  871.     SetProperty(0x3f, VT_BOOL, propVal);
  872. }
  873.  
  874. BOOL CLead::GetDbCanScroll()
  875. {
  876.     BOOL result;
  877.     GetProperty(0x40, VT_BOOL, (void*)&result);
  878.     return result;
  879. }
  880.  
  881. void CLead::SetDbCanScroll(BOOL propVal)
  882. {
  883.     SetProperty(0x40, VT_BOOL, propVal);
  884. }
  885.  
  886. BOOL CLead::GetDbCanUpdate()
  887. {
  888.     BOOL result;
  889.     GetProperty(0x41, VT_BOOL, (void*)&result);
  890.     return result;
  891. }
  892.  
  893. void CLead::SetDbCanUpdate(BOOL propVal)
  894. {
  895.     SetProperty(0x41, VT_BOOL, propVal);
  896. }
  897.  
  898. long CLead::GetDbRecordCount()
  899. {
  900.     long result;
  901.     GetProperty(0x42, VT_I4, (void*)&result);
  902.     return result;
  903. }
  904.  
  905. void CLead::SetDbRecordCount(long propVal)
  906. {
  907.     SetProperty(0x42, VT_I4, propVal);
  908. }
  909.  
  910. BOOL CLead::GetDbIsOpen()
  911. {
  912.     BOOL result;
  913.     GetProperty(0x43, VT_BOOL, (void*)&result);
  914.     return result;
  915. }
  916.  
  917. void CLead::SetDbIsOpen(BOOL propVal)
  918. {
  919.     SetProperty(0x43, VT_BOOL, propVal);
  920. }
  921.  
  922. BOOL CLead::GetDbIsBOF()
  923. {
  924.     BOOL result;
  925.     GetProperty(0x44, VT_BOOL, (void*)&result);
  926.     return result;
  927. }
  928.  
  929. void CLead::SetDbIsBOF(BOOL propVal)
  930. {
  931.     SetProperty(0x44, VT_BOOL, propVal);
  932. }
  933.  
  934. BOOL CLead::GetDbIsEOF()
  935. {
  936.     BOOL result;
  937.     GetProperty(0x45, VT_BOOL, (void*)&result);
  938.     return result;
  939. }
  940.  
  941. void CLead::SetDbIsEOF(BOOL propVal)
  942. {
  943.     SetProperty(0x45, VT_BOOL, propVal);
  944. }
  945.  
  946. BOOL CLead::GetDbIsDeleted()
  947. {
  948.     BOOL result;
  949.     GetProperty(0x46, VT_BOOL, (void*)&result);
  950.     return result;
  951. }
  952.  
  953. void CLead::SetDbIsDeleted(BOOL propVal)
  954. {
  955.     SetProperty(0x46, VT_BOOL, propVal);
  956. }
  957.  
  958. long CLead::GetDbCurrentRecord()
  959. {
  960.     long result;
  961.     GetProperty(0x47, VT_I4, (void*)&result);
  962.     return result;
  963. }
  964.  
  965. void CLead::SetDbCurrentRecord(long propVal)
  966. {
  967.     SetProperty(0x47, VT_I4, propVal);
  968. }
  969.  
  970. short CLead::GetDbEditMode()
  971. {
  972.     short result;
  973.     GetProperty(0x48, VT_I2, (void*)&result);
  974.     return result;
  975. }
  976.  
  977. void CLead::SetDbEditMode(short propVal)
  978. {
  979.     SetProperty(0x48, VT_I2, propVal);
  980. }
  981.  
  982. short CLead::GetDbLockingMode()
  983. {
  984.     short result;
  985.     GetProperty(0x49, VT_I2, (void*)&result);
  986.     return result;
  987. }
  988.  
  989. void CLead::SetDbLockingMode(short propVal)
  990. {
  991.     SetProperty(0x49, VT_I2, propVal);
  992. }
  993.  
  994. short CLead::GetDbLoadBits()
  995. {
  996.     short result;
  997.     GetProperty(0x4a, VT_I2, (void*)&result);
  998.     return result;
  999. }
  1000.  
  1001. void CLead::SetDbLoadBits(short propVal)
  1002. {
  1003.     SetProperty(0x4a, VT_I2, propVal);
  1004. }
  1005.  
  1006. BOOL CLead::GetForePalette()
  1007. {
  1008.     BOOL result;
  1009.     GetProperty(0x4b, VT_BOOL, (void*)&result);
  1010.     return result;
  1011. }
  1012.  
  1013. void CLead::SetForePalette(BOOL propVal)
  1014. {
  1015.     SetProperty(0x4b, VT_BOOL, propVal);
  1016. }
  1017.  
  1018. CString CLead::GetTwainAppAuthor()
  1019. {
  1020.     CString result;
  1021.     GetProperty(0x4c, VT_BSTR, (void*)&result);
  1022.     return result;
  1023. }
  1024.  
  1025. void CLead::SetTwainAppAuthor(LPCTSTR propVal)
  1026. {
  1027.     SetProperty(0x4c, VT_BSTR, propVal);
  1028. }
  1029.  
  1030. CString CLead::GetTwainAppFamily()
  1031. {
  1032.     CString result;
  1033.     GetProperty(0x4d, VT_BSTR, (void*)&result);
  1034.     return result;
  1035. }
  1036.  
  1037. void CLead::SetTwainAppFamily(LPCTSTR propVal)
  1038. {
  1039.     SetProperty(0x4d, VT_BSTR, propVal);
  1040. }
  1041.  
  1042. CString CLead::GetTwainAppName()
  1043. {
  1044.     CString result;
  1045.     GetProperty(0x4e, VT_BSTR, (void*)&result);
  1046.     return result;
  1047. }
  1048.  
  1049. void CLead::SetTwainAppName(LPCTSTR propVal)
  1050. {
  1051.     SetProperty(0x4e, VT_BSTR, propVal);
  1052. }
  1053.  
  1054. CString CLead::GetTwainSourceName()
  1055. {
  1056.     CString result;
  1057.     GetProperty(0x4f, VT_BSTR, (void*)&result);
  1058.     return result;
  1059. }
  1060.  
  1061. void CLead::SetTwainSourceName(LPCTSTR propVal)
  1062. {
  1063.     SetProperty(0x4f, VT_BSTR, propVal);
  1064. }
  1065.  
  1066. short CLead::GetTwainMaxPages()
  1067. {
  1068.     short result;
  1069.     GetProperty(0x50, VT_I2, (void*)&result);
  1070.     return result;
  1071. }
  1072.  
  1073. void CLead::SetTwainMaxPages(short propVal)
  1074. {
  1075.     SetProperty(0x50, VT_I2, propVal);
  1076. }
  1077.  
  1078. short CLead::GetTwainPixelType()
  1079. {
  1080.     short result;
  1081.     GetProperty(0x51, VT_I2, (void*)&result);
  1082.     return result;
  1083. }
  1084.  
  1085. void CLead::SetTwainPixelType(short propVal)
  1086. {
  1087.     SetProperty(0x51, VT_I2, propVal);
  1088. }
  1089.  
  1090. short CLead::GetTwainRes()
  1091. {
  1092.     short result;
  1093.     GetProperty(0x52, VT_I2, (void*)&result);
  1094.     return result;
  1095. }
  1096.  
  1097. void CLead::SetTwainRes(short propVal)
  1098. {
  1099.     SetProperty(0x52, VT_I2, propVal);
  1100. }
  1101.  
  1102. long CLead::GetTwainFrameLeft()
  1103. {
  1104.     long result;
  1105.     GetProperty(0x53, VT_I4, (void*)&result);
  1106.     return result;
  1107. }
  1108.  
  1109. void CLead::SetTwainFrameLeft(long propVal)
  1110. {
  1111.     SetProperty(0x53, VT_I4, propVal);
  1112. }
  1113.  
  1114. long CLead::GetTwainFrameTop()
  1115. {
  1116.     long result;
  1117.     GetProperty(0x54, VT_I4, (void*)&result);
  1118.     return result;
  1119. }
  1120.  
  1121. void CLead::SetTwainFrameTop(long propVal)
  1122. {
  1123.     SetProperty(0x54, VT_I4, propVal);
  1124. }
  1125.  
  1126. long CLead::GetTwainFrameWidth()
  1127. {
  1128.     long result;
  1129.     GetProperty(0x55, VT_I4, (void*)&result);
  1130.     return result;
  1131. }
  1132.  
  1133. void CLead::SetTwainFrameWidth(long propVal)
  1134. {
  1135.     SetProperty(0x55, VT_I4, propVal);
  1136. }
  1137.  
  1138. long CLead::GetTwainFrameHeight()
  1139. {
  1140.     long result;
  1141.     GetProperty(0x56, VT_I4, (void*)&result);
  1142.     return result;
  1143. }
  1144.  
  1145. void CLead::SetTwainFrameHeight(long propVal)
  1146. {
  1147.     SetProperty(0x56, VT_I4, propVal);
  1148. }
  1149.  
  1150. short CLead::GetTwainBits()
  1151. {
  1152.     short result;
  1153.     GetProperty(0x57, VT_I2, (void*)&result);
  1154.     return result;
  1155. }
  1156.  
  1157. void CLead::SetTwainBits(short propVal)
  1158. {
  1159.     SetProperty(0x57, VT_I2, propVal);
  1160. }
  1161.  
  1162. short CLead::GetTwainSourceCount()
  1163. {
  1164.     short result;
  1165.     GetProperty(0x58, VT_I2, (void*)&result);
  1166.     return result;
  1167. }
  1168.  
  1169. void CLead::SetTwainSourceCount(short propVal)
  1170. {
  1171.     SetProperty(0x58, VT_I2, propVal);
  1172. }
  1173.  
  1174. short CLead::GetTwainFlags()
  1175. {
  1176.     short result;
  1177.     GetProperty(0x59, VT_I2, (void*)&result);
  1178.     return result;
  1179. }
  1180.  
  1181. void CLead::SetTwainFlags(short propVal)
  1182. {
  1183.     SetProperty(0x59, VT_I2, propVal);
  1184. }
  1185.  
  1186. LPUNKNOWN CLead::GetDataSource()
  1187. {
  1188.     LPUNKNOWN result;
  1189.     GetProperty(0x5a, VT_UNKNOWN, (void*)&result);
  1190.     return result;
  1191. }
  1192.  
  1193. void CLead::SetDataSource(LPUNKNOWN propVal)
  1194. {
  1195.     SetProperty(0x5a, VT_UNKNOWN, propVal);
  1196. }
  1197.  
  1198. CString CLead::GetDataField()
  1199. {
  1200.     CString result;
  1201.     GetProperty(0x5b, VT_BSTR, (void*)&result);
  1202.     return result;
  1203. }
  1204.  
  1205. void CLead::SetDataField(LPCTSTR propVal)
  1206. {
  1207.     SetProperty(0x5b, VT_BSTR, propVal);
  1208. }
  1209.  
  1210. short CLead::GetDataSaveBits()
  1211. {
  1212.     short result;
  1213.     GetProperty(0x5c, VT_I2, (void*)&result);
  1214.     return result;
  1215. }
  1216.  
  1217. void CLead::SetDataSaveBits(short propVal)
  1218. {
  1219.     SetProperty(0x5c, VT_I2, propVal);
  1220. }
  1221.  
  1222. short CLead::GetDataSaveFormat()
  1223. {
  1224.     short result;
  1225.     GetProperty(0x5d, VT_I2, (void*)&result);
  1226.     return result;
  1227. }
  1228.  
  1229. void CLead::SetDataSaveFormat(short propVal)
  1230. {
  1231.     SetProperty(0x5d, VT_I2, propVal);
  1232. }
  1233.  
  1234. short CLead::GetDataSaveQuality()
  1235. {
  1236.     short result;
  1237.     GetProperty(0x5e, VT_I2, (void*)&result);
  1238.     return result;
  1239. }
  1240.  
  1241. void CLead::SetDataSaveQuality(short propVal)
  1242. {
  1243.     SetProperty(0x5e, VT_I2, propVal);
  1244. }
  1245.  
  1246. short CLead::GetDataLoadBits()
  1247. {
  1248.     short result;
  1249.     GetProperty(0x5f, VT_I2, (void*)&result);
  1250.     return result;
  1251. }
  1252.  
  1253. void CLead::SetDataLoadBits(short propVal)
  1254. {
  1255.     SetProperty(0x5f, VT_I2, propVal);
  1256. }
  1257.  
  1258. BOOL CLead::GetDataChanged()
  1259. {
  1260.     BOOL result;
  1261.     GetProperty(0x60, VT_BOOL, (void*)&result);
  1262.     return result;
  1263. }
  1264.  
  1265. void CLead::SetDataChanged(BOOL propVal)
  1266. {
  1267.     SetProperty(0x60, VT_BOOL, propVal);
  1268. }
  1269.  
  1270. long CLead::GetPaintROP3()
  1271. {
  1272.     long result;
  1273.     GetProperty(0x61, VT_I4, (void*)&result);
  1274.     return result;
  1275. }
  1276.  
  1277. void CLead::SetPaintROP3(long propVal)
  1278. {
  1279.     SetProperty(0x61, VT_I4, propVal);
  1280. }
  1281.  
  1282. short CLead::GetIsGrayscale()
  1283. {
  1284.     short result;
  1285.     GetProperty(0x62, VT_I2, (void*)&result);
  1286.     return result;
  1287. }
  1288.  
  1289. void CLead::SetIsGrayscale(short propVal)
  1290. {
  1291.     SetProperty(0x62, VT_I2, propVal);
  1292. }
  1293.  
  1294. BOOL CLead::GetHasRgn()
  1295. {
  1296.     BOOL result;
  1297.     GetProperty(0x63, VT_BOOL, (void*)&result);
  1298.     return result;
  1299. }
  1300.  
  1301. void CLead::SetHasRgn(BOOL propVal)
  1302. {
  1303.     SetProperty(0x63, VT_BOOL, propVal);
  1304. }
  1305.  
  1306. float CLead::GetRgnLeft()
  1307. {
  1308.     float result;
  1309.     GetProperty(0x64, VT_R4, (void*)&result);
  1310.     return result;
  1311. }
  1312.  
  1313. void CLead::SetRgnLeft(float propVal)
  1314. {
  1315.     SetProperty(0x64, VT_R4, propVal);
  1316. }
  1317.  
  1318. float CLead::GetRgnTop()
  1319. {
  1320.     float result;
  1321.     GetProperty(0x65, VT_R4, (void*)&result);
  1322.     return result;
  1323. }
  1324.  
  1325. void CLead::SetRgnTop(float propVal)
  1326. {
  1327.     SetProperty(0x65, VT_R4, propVal);
  1328. }
  1329.  
  1330. float CLead::GetRgnWidth()
  1331. {
  1332.     float result;
  1333.     GetProperty(0x66, VT_R4, (void*)&result);
  1334.     return result;
  1335. }
  1336.  
  1337. void CLead::SetRgnWidth(float propVal)
  1338. {
  1339.     SetProperty(0x66, VT_R4, propVal);
  1340. }
  1341.  
  1342. float CLead::GetRgnHeight()
  1343. {
  1344.     float result;
  1345.     GetProperty(0x67, VT_R4, (void*)&result);
  1346.     return result;
  1347. }
  1348.  
  1349. void CLead::SetRgnHeight(float propVal)
  1350. {
  1351.     SetProperty(0x67, VT_R4, propVal);
  1352. }
  1353.  
  1354. short CLead::GetRgnMarkingMode()
  1355. {
  1356.     short result;
  1357.     GetProperty(0x68, VT_I2, (void*)&result);
  1358.     return result;
  1359. }
  1360.  
  1361. void CLead::SetRgnMarkingMode(short propVal)
  1362. {
  1363.     SetProperty(0x68, VT_I2, propVal);
  1364. }
  1365.  
  1366. short CLead::GetRgnFrameType()
  1367. {
  1368.     short result;
  1369.     GetProperty(0x69, VT_I2, (void*)&result);
  1370.     return result;
  1371. }
  1372.  
  1373. void CLead::SetRgnFrameType(short propVal)
  1374. {
  1375.     SetProperty(0x69, VT_I2, propVal);
  1376. }
  1377.  
  1378. long CLead::GetFloater()
  1379. {
  1380.     long result;
  1381.     GetProperty(0x6a, VT_I4, (void*)&result);
  1382.     return result;
  1383. }
  1384.  
  1385. void CLead::SetFloater(long propVal)
  1386. {
  1387.     SetProperty(0x6a, VT_I4, propVal);
  1388. }
  1389.  
  1390. BOOL CLead::GetFloaterVisible()
  1391. {
  1392.     BOOL result;
  1393.     GetProperty(0x6b, VT_BOOL, (void*)&result);
  1394.     return result;
  1395. }
  1396.  
  1397. void CLead::SetFloaterVisible(BOOL propVal)
  1398. {
  1399.     SetProperty(0x6b, VT_BOOL, propVal);
  1400. }
  1401.  
  1402. float CLead::GetFloaterDstLeft()
  1403. {
  1404.     float result;
  1405.     GetProperty(0x6c, VT_R4, (void*)&result);
  1406.     return result;
  1407. }
  1408.  
  1409. void CLead::SetFloaterDstLeft(float propVal)
  1410. {
  1411.     SetProperty(0x6c, VT_R4, propVal);
  1412. }
  1413.  
  1414. float CLead::GetFloaterDstTop()
  1415. {
  1416.     float result;
  1417.     GetProperty(0x6d, VT_R4, (void*)&result);
  1418.     return result;
  1419. }
  1420.  
  1421. void CLead::SetFloaterDstTop(float propVal)
  1422. {
  1423.     SetProperty(0x6d, VT_R4, propVal);
  1424. }
  1425.  
  1426. float CLead::GetFloaterDstWidth()
  1427. {
  1428.     float result;
  1429.     GetProperty(0x6e, VT_R4, (void*)&result);
  1430.     return result;
  1431. }
  1432.  
  1433. void CLead::SetFloaterDstWidth(float propVal)
  1434. {
  1435.     SetProperty(0x6e, VT_R4, propVal);
  1436. }
  1437.  
  1438. float CLead::GetFloaterDstHeight()
  1439. {
  1440.     float result;
  1441.     GetProperty(0x6f, VT_R4, (void*)&result);
  1442.     return result;
  1443. }
  1444.  
  1445. void CLead::SetFloaterDstHeight(float propVal)
  1446. {
  1447.     SetProperty(0x6f, VT_R4, propVal);
  1448. }
  1449.  
  1450. float CLead::GetFloaterDstClipLeft()
  1451. {
  1452.     float result;
  1453.     GetProperty(0x70, VT_R4, (void*)&result);
  1454.     return result;
  1455. }
  1456.  
  1457. void CLead::SetFloaterDstClipLeft(float propVal)
  1458. {
  1459.     SetProperty(0x70, VT_R4, propVal);
  1460. }
  1461.  
  1462. float CLead::GetFloaterDstClipTop()
  1463. {
  1464.     float result;
  1465.     GetProperty(0x71, VT_R4, (void*)&result);
  1466.     return result;
  1467. }
  1468.  
  1469. void CLead::SetFloaterDstClipTop(float propVal)
  1470. {
  1471.     SetProperty(0x71, VT_R4, propVal);
  1472. }
  1473.  
  1474. float CLead::GetFloaterDstClipWidth()
  1475. {
  1476.     float result;
  1477.     GetProperty(0x72, VT_R4, (void*)&result);
  1478.     return result;
  1479. }
  1480.  
  1481. void CLead::SetFloaterDstClipWidth(float propVal)
  1482. {
  1483.     SetProperty(0x72, VT_R4, propVal);
  1484. }
  1485.  
  1486. float CLead::GetFloaterDstClipHeight()
  1487. {
  1488.     float result;
  1489.     GetProperty(0x73, VT_R4, (void*)&result);
  1490.     return result;
  1491. }
  1492.  
  1493. void CLead::SetFloaterDstClipHeight(float propVal)
  1494. {
  1495.     SetProperty(0x73, VT_R4, propVal);
  1496. }
  1497.  
  1498. float CLead::GetFloaterWidth()
  1499. {
  1500.     float result;
  1501.     GetProperty(0x74, VT_R4, (void*)&result);
  1502.     return result;
  1503. }
  1504.  
  1505. void CLead::SetFloaterWidth(float propVal)
  1506. {
  1507.     SetProperty(0x74, VT_R4, propVal);
  1508. }
  1509.  
  1510. float CLead::GetFloaterHeight()
  1511. {
  1512.     float result;
  1513.     GetProperty(0x75, VT_R4, (void*)&result);
  1514.     return result;
  1515. }
  1516.  
  1517. void CLead::SetFloaterHeight(float propVal)
  1518. {
  1519.     SetProperty(0x75, VT_R4, propVal);
  1520. }
  1521.  
  1522. short CLead::GetPolygonSize()
  1523. {
  1524.     short result;
  1525.     GetProperty(0x76, VT_I2, (void*)&result);
  1526.     return result;
  1527. }
  1528.  
  1529. void CLead::SetPolygonSize(short propVal)
  1530. {
  1531.     SetProperty(0x76, VT_I2, propVal);
  1532. }
  1533.  
  1534. short CLead::GetAnnUserMode()
  1535. {
  1536.     short result;
  1537.     GetProperty(0x77, VT_I2, (void*)&result);
  1538.     return result;
  1539. }
  1540.  
  1541. void CLead::SetAnnUserMode(short propVal)
  1542. {
  1543.     SetProperty(0x77, VT_I2, propVal);
  1544. }
  1545.  
  1546. short CLead::GetAnnTool()
  1547. {
  1548.     short result;
  1549.     GetProperty(0x78, VT_I2, (void*)&result);
  1550.     return result;
  1551. }
  1552.  
  1553. void CLead::SetAnnTool(short propVal)
  1554. {
  1555.     SetProperty(0x78, VT_I2, propVal);
  1556. }
  1557.  
  1558. BOOL CLead::GetAnnPasteReady()
  1559. {
  1560.     BOOL result;
  1561.     GetProperty(0x79, VT_BOOL, (void*)&result);
  1562.     return result;
  1563. }
  1564.  
  1565. void CLead::SetAnnPasteReady(BOOL propVal)
  1566. {
  1567.     SetProperty(0x79, VT_BOOL, propVal);
  1568. }
  1569.  
  1570. long CLead::GetAnnContainer()
  1571. {
  1572.     long result;
  1573.     GetProperty(0x7a, VT_I4, (void*)&result);
  1574.     return result;
  1575. }
  1576.  
  1577. void CLead::SetAnnContainer(long propVal)
  1578. {
  1579.     SetProperty(0x7a, VT_I4, propVal);
  1580. }
  1581.  
  1582. short CLead::GetLoadInfoFormat()
  1583. {
  1584.     short result;
  1585.     GetProperty(0x7b, VT_I2, (void*)&result);
  1586.     return result;
  1587. }
  1588.  
  1589. void CLead::SetLoadInfoFormat(short propVal)
  1590. {
  1591.     SetProperty(0x7b, VT_I2, propVal);
  1592. }
  1593.  
  1594. float CLead::GetLoadInfoWidth()
  1595. {
  1596.     float result;
  1597.     GetProperty(0x7c, VT_R4, (void*)&result);
  1598.     return result;
  1599. }
  1600.  
  1601. void CLead::SetLoadInfoWidth(float propVal)
  1602. {
  1603.     SetProperty(0x7c, VT_R4, propVal);
  1604. }
  1605.  
  1606. float CLead::GetLoadInfoHeight()
  1607. {
  1608.     float result;
  1609.     GetProperty(0x7d, VT_R4, (void*)&result);
  1610.     return result;
  1611. }
  1612.  
  1613. void CLead::SetLoadInfoHeight(float propVal)
  1614. {
  1615.     SetProperty(0x7d, VT_R4, propVal);
  1616. }
  1617.  
  1618. short CLead::GetLoadInfoBits()
  1619. {
  1620.     short result;
  1621.     GetProperty(0x7e, VT_I2, (void*)&result);
  1622.     return result;
  1623. }
  1624.  
  1625. void CLead::SetLoadInfoBits(short propVal)
  1626. {
  1627.     SetProperty(0x7e, VT_I2, propVal);
  1628. }
  1629.  
  1630. short CLead::GetLoadInfoXRes()
  1631. {
  1632.     short result;
  1633.     GetProperty(0x7f, VT_I2, (void*)&result);
  1634.     return result;
  1635. }
  1636.  
  1637. void CLead::SetLoadInfoXRes(short propVal)
  1638. {
  1639.     SetProperty(0x7f, VT_I2, propVal);
  1640. }
  1641.  
  1642. short CLead::GetLoadInfoYRes()
  1643. {
  1644.     short result;
  1645.     GetProperty(0x80, VT_I2, (void*)&result);
  1646.     return result;
  1647. }
  1648.  
  1649. void CLead::SetLoadInfoYRes(short propVal)
  1650. {
  1651.     SetProperty(0x80, VT_I2, propVal);
  1652. }
  1653.  
  1654. long CLead::GetLoadInfoOffset()
  1655. {
  1656.     long result;
  1657.     GetProperty(0x81, VT_I4, (void*)&result);
  1658.     return result;
  1659. }
  1660.  
  1661. void CLead::SetLoadInfoOffset(long propVal)
  1662. {
  1663.     SetProperty(0x81, VT_I4, propVal);
  1664. }
  1665.  
  1666. long CLead::GetLoadInfoFlags()
  1667. {
  1668.     long result;
  1669.     GetProperty(0x82, VT_I4, (void*)&result);
  1670.     return result;
  1671. }
  1672.  
  1673. void CLead::SetLoadInfoFlags(long propVal)
  1674. {
  1675.     SetProperty(0x82, VT_I4, propVal);
  1676. }
  1677.  
  1678. long CLead::GetAnnAutomation()
  1679. {
  1680.     long result;
  1681.     GetProperty(0x83, VT_I4, (void*)&result);
  1682.     return result;
  1683. }
  1684.  
  1685. void CLead::SetAnnAutomation(long propVal)
  1686. {
  1687.     SetProperty(0x83, VT_I4, propVal);
  1688. }
  1689.  
  1690. short CLead::GetProgressivePasses()
  1691. {
  1692.     short result;
  1693.     GetProperty(0x84, VT_I2, (void*)&result);
  1694.     return result;
  1695. }
  1696.  
  1697. void CLead::SetProgressivePasses(short propVal)
  1698. {
  1699.     SetProperty(0x84, VT_I2, propVal);
  1700. }
  1701.  
  1702. short CLead::GetBitmapListIndex()
  1703. {
  1704.     short result;
  1705.     GetProperty(0x85, VT_I2, (void*)&result);
  1706.     return result;
  1707. }
  1708.  
  1709. void CLead::SetBitmapListIndex(short propVal)
  1710. {
  1711.     SetProperty(0x85, VT_I2, propVal);
  1712. }
  1713.  
  1714. short CLead::GetBitmapListCount()
  1715. {
  1716.     short result;
  1717.     GetProperty(0x86, VT_I2, (void*)&result);
  1718.     return result;
  1719. }
  1720.  
  1721. void CLead::SetBitmapListCount(short propVal)
  1722. {
  1723.     SetProperty(0x86, VT_I2, propVal);
  1724. }
  1725.  
  1726. BOOL CLead::GetAnimationEnable()
  1727. {
  1728.     BOOL result;
  1729.     GetProperty(0x87, VT_BOOL, (void*)&result);
  1730.     return result;
  1731. }
  1732.  
  1733. void CLead::SetAnimationEnable(BOOL propVal)
  1734. {
  1735.     SetProperty(0x87, VT_BOOL, propVal);
  1736. }
  1737.  
  1738. float CLead::GetBitmapLeft()
  1739. {
  1740.     float result;
  1741.     GetProperty(0x88, VT_R4, (void*)&result);
  1742.     return result;
  1743. }
  1744.  
  1745. void CLead::SetBitmapLeft(float propVal)
  1746. {
  1747.     SetProperty(0x88, VT_R4, propVal);
  1748. }
  1749.  
  1750. float CLead::GetBitmapTop()
  1751. {
  1752.     float result;
  1753.     GetProperty(0x89, VT_R4, (void*)&result);
  1754.     return result;
  1755. }
  1756.  
  1757. void CLead::SetBitmapTop(float propVal)
  1758. {
  1759.     SetProperty(0x89, VT_R4, propVal);
  1760. }
  1761.  
  1762. long CLead::GetBitmapDelay()
  1763. {
  1764.     long result;
  1765.     GetProperty(0x8a, VT_I4, (void*)&result);
  1766.     return result;
  1767. }
  1768.  
  1769. void CLead::SetBitmapDelay(long propVal)
  1770. {
  1771.     SetProperty(0x8a, VT_I4, propVal);
  1772. }
  1773.  
  1774. float CLead::GetAnimationWidth()
  1775. {
  1776.     float result;
  1777.     GetProperty(0x8b, VT_R4, (void*)&result);
  1778.     return result;
  1779. }
  1780.  
  1781. void CLead::SetAnimationWidth(float propVal)
  1782. {
  1783.     SetProperty(0x8b, VT_R4, propVal);
  1784. }
  1785.  
  1786. float CLead::GetAnimationHeight()
  1787. {
  1788.     float result;
  1789.     GetProperty(0x8c, VT_R4, (void*)&result);
  1790.     return result;
  1791. }
  1792.  
  1793. void CLead::SetAnimationHeight(float propVal)
  1794. {
  1795.     SetProperty(0x8c, VT_R4, propVal);
  1796. }
  1797.  
  1798. unsigned long CLead::GetAnimationBackColor()
  1799. {
  1800.     unsigned long result;
  1801.     GetProperty(0x8d, VT_I4, (void*)&result);
  1802.     return result;
  1803. }
  1804.  
  1805. void CLead::SetAnimationBackColor(unsigned long propVal)
  1806. {
  1807.     SetProperty(0x8d, VT_I4, propVal);
  1808. }
  1809.  
  1810. short CLead::GetAnimationBitsPerPixel()
  1811. {
  1812.     short result;
  1813.     GetProperty(0x8e, VT_I2, (void*)&result);
  1814.     return result;
  1815. }
  1816.  
  1817. void CLead::SetAnimationBitsPerPixel(short propVal)
  1818. {
  1819.     SetProperty(0x8e, VT_I2, propVal);
  1820. }
  1821.  
  1822. BOOL CLead::GetBitmapEnableTransparency()
  1823. {
  1824.     BOOL result;
  1825.     GetProperty(0x8f, VT_BOOL, (void*)&result);
  1826.     return result;
  1827. }
  1828.  
  1829. void CLead::SetBitmapEnableTransparency(BOOL propVal)
  1830. {
  1831.     SetProperty(0x8f, VT_BOOL, propVal);
  1832. }
  1833.  
  1834. unsigned long CLead::GetBitmapTransparentColor()
  1835. {
  1836.     unsigned long result;
  1837.     GetProperty(0x90, VT_I4, (void*)&result);
  1838.     return result;
  1839. }
  1840.  
  1841. void CLead::SetBitmapTransparentColor(unsigned long propVal)
  1842. {
  1843.     SetProperty(0x90, VT_I4, propVal);
  1844. }
  1845.  
  1846. short CLead::GetBitmapDisposalMethod()
  1847. {
  1848.     short result;
  1849.     GetProperty(0x91, VT_I2, (void*)&result);
  1850.     return result;
  1851. }
  1852.  
  1853. void CLead::SetBitmapDisposalMethod(short propVal)
  1854. {
  1855.     SetProperty(0x91, VT_I2, propVal);
  1856. }
  1857.  
  1858. long CLead::GetBitmapList()
  1859. {
  1860.     long result;
  1861.     GetProperty(0x92, VT_I4, (void*)&result);
  1862.     return result;
  1863. }
  1864.  
  1865. void CLead::SetBitmapList(long propVal)
  1866. {
  1867.     SetProperty(0x92, VT_I4, propVal);
  1868. }
  1869.  
  1870. BOOL CLead::GetAnnAutoMenuEnable()
  1871. {
  1872.     BOOL result;
  1873.     GetProperty(0x93, VT_BOOL, (void*)&result);
  1874.     return result;
  1875. }
  1876.  
  1877. void CLead::SetAnnAutoMenuEnable(BOOL propVal)
  1878. {
  1879.     SetProperty(0x93, VT_BOOL, propVal);
  1880. }
  1881.  
  1882. BOOL CLead::GetAutoAnimate()
  1883. {
  1884.     BOOL result;
  1885.     GetProperty(0x94, VT_BOOL, (void*)&result);
  1886.     return result;
  1887. }
  1888.  
  1889. void CLead::SetAutoAnimate(BOOL propVal)
  1890. {
  1891.     SetProperty(0x94, VT_BOOL, propVal);
  1892. }
  1893.  
  1894. BOOL CLead::GetAnimationLoop()
  1895. {
  1896.     BOOL result;
  1897.     GetProperty(0x95, VT_BOOL, (void*)&result);
  1898.     return result;
  1899. }
  1900.  
  1901. void CLead::SetAnimationLoop(BOOL propVal)
  1902. {
  1903.     SetProperty(0x95, VT_BOOL, propVal);
  1904. }
  1905.  
  1906. float CLead::GetInfoAnimationWidth()
  1907. {
  1908.     float result;
  1909.     GetProperty(0x96, VT_R4, (void*)&result);
  1910.     return result;
  1911. }
  1912.  
  1913. void CLead::SetInfoAnimationWidth(float propVal)
  1914. {
  1915.     SetProperty(0x96, VT_R4, propVal);
  1916. }
  1917.  
  1918. float CLead::GetInfoAnimationHeight()
  1919. {
  1920.     float result;
  1921.     GetProperty(0x97, VT_R4, (void*)&result);
  1922.     return result;
  1923. }
  1924.  
  1925. void CLead::SetInfoAnimationHeight(float propVal)
  1926. {
  1927.     SetProperty(0x97, VT_R4, propVal);
  1928. }
  1929.  
  1930. BOOL CLead::GetInfoAnimation()
  1931. {
  1932.     BOOL result;
  1933.     GetProperty(0x98, VT_BOOL, (void*)&result);
  1934.     return result;
  1935. }
  1936.  
  1937. void CLead::SetInfoAnimation(BOOL propVal)
  1938. {
  1939.     SetProperty(0x98, VT_BOOL, propVal);
  1940. }
  1941.  
  1942. CString CLead::GetBitmapDataPath()
  1943. {
  1944.     CString result;
  1945.     GetProperty(0x99, VT_BSTR, (void*)&result);
  1946.     return result;
  1947. }
  1948.  
  1949. void CLead::SetBitmapDataPath(LPCTSTR propVal)
  1950. {
  1951.     SetProperty(0x99, VT_BSTR, propVal);
  1952. }
  1953.  
  1954. short CLead::GetPaintSizeMode()
  1955. {
  1956.     short result;
  1957.     GetProperty(0x9a, VT_I2, (void*)&result);
  1958.     return result;
  1959. }
  1960.  
  1961. void CLead::SetPaintSizeMode(short propVal)
  1962. {
  1963.     SetProperty(0x9a, VT_I2, propVal);
  1964. }
  1965.  
  1966. float CLead::GetPaintZoomFactor()
  1967. {
  1968.     float result;
  1969.     GetProperty(0x9b, VT_R4, (void*)&result);
  1970.     return result;
  1971. }
  1972.  
  1973. void CLead::SetPaintZoomFactor(float propVal)
  1974. {
  1975.     SetProperty(0x9b, VT_R4, propVal);
  1976. }
  1977.  
  1978. short CLead::GetAutoAnimationLoop()
  1979. {
  1980.     short result;
  1981.     GetProperty(0x9c, VT_I2, (void*)&result);
  1982.     return result;
  1983. }
  1984.  
  1985. void CLead::SetAutoAnimationLoop(short propVal)
  1986. {
  1987.     SetProperty(0x9c, VT_I2, propVal);
  1988. }
  1989.  
  1990. BOOL CLead::GetAnnAutoDrawEnable()
  1991. {
  1992.     BOOL result;
  1993.     GetProperty(0x9d, VT_BOOL, (void*)&result);
  1994.     return result;
  1995. }
  1996.  
  1997. void CLead::SetAnnAutoDrawEnable(BOOL propVal)
  1998. {
  1999.     SetProperty(0x9d, VT_BOOL, propVal);
  2000. }
  2001.  
  2002. short CLead::GetDimensionCount()
  2003. {
  2004.     short result;
  2005.     GetProperty(0x9e, VT_I2, (void*)&result);
  2006.     return result;
  2007. }
  2008.  
  2009. void CLead::SetDimensionCount(short propVal)
  2010. {
  2011.     SetProperty(0x9e, VT_I2, propVal);
  2012. }
  2013.  
  2014. BOOL CLead::GetOLEDropAllowed()
  2015. {
  2016.     BOOL result;
  2017.     GetProperty(0x9f, VT_BOOL, (void*)&result);
  2018.     return result;
  2019. }
  2020.  
  2021. void CLead::SetOLEDropAllowed(BOOL propVal)
  2022. {
  2023.     SetProperty(0x9f, VT_BOOL, propVal);
  2024. }
  2025.  
  2026. BOOL CLead::GetAutoRubberBand()
  2027. {
  2028.     BOOL result;
  2029.     GetProperty(0xa0, VT_BOOL, (void*)&result);
  2030.     return result;
  2031. }
  2032.  
  2033. void CLead::SetAutoRubberBand(BOOL propVal)
  2034. {
  2035.     SetProperty(0xa0, VT_BOOL, propVal);
  2036. }
  2037.  
  2038. BOOL CLead::GetSaveInterlaced()
  2039. {
  2040.     BOOL result;
  2041.     GetProperty(0xa1, VT_BOOL, (void*)&result);
  2042.     return result;
  2043. }
  2044.  
  2045. void CLead::SetSaveInterlaced(BOOL propVal)
  2046. {
  2047.     SetProperty(0xa1, VT_BOOL, propVal);
  2048. }
  2049.  
  2050. BOOL CLead::GetPaintSizeUseDPI()
  2051. {
  2052.     BOOL result;
  2053.     GetProperty(0xa2, VT_BOOL, (void*)&result);
  2054.     return result;
  2055. }
  2056.  
  2057. void CLead::SetPaintSizeUseDPI(BOOL propVal)
  2058. {
  2059.     SetProperty(0xa2, VT_BOOL, propVal);
  2060. }
  2061.  
  2062. CString CLead::GetAnnDataPath()
  2063. {
  2064.     CString result;
  2065.     GetProperty(0xa3, VT_BSTR, (void*)&result);
  2066.     return result;
  2067. }
  2068.  
  2069. void CLead::SetAnnDataPath(LPCTSTR propVal)
  2070. {
  2071.     SetProperty(0xa3, VT_BSTR, propVal);
  2072. }
  2073.  
  2074. BOOL CLead::GetDrawPersistence()
  2075. {
  2076.     BOOL result;
  2077.     GetProperty(0xa4, VT_BOOL, (void*)&result);
  2078.     return result;
  2079. }
  2080.  
  2081. void CLead::SetDrawPersistence(BOOL propVal)
  2082. {
  2083.     SetProperty(0xa4, VT_BOOL, propVal);
  2084. }
  2085.  
  2086. short CLead::GetDrawMode()
  2087. {
  2088.     short result;
  2089.     GetProperty(0xa5, VT_I2, (void*)&result);
  2090.     return result;
  2091. }
  2092.  
  2093. void CLead::SetDrawMode(short propVal)
  2094. {
  2095.     SetProperty(0xa5, VT_I2, propVal);
  2096. }
  2097.  
  2098. unsigned long CLead::GetDrawPenColor()
  2099. {
  2100.     unsigned long result;
  2101.     GetProperty(0xa6, VT_I4, (void*)&result);
  2102.     return result;
  2103. }
  2104.  
  2105. void CLead::SetDrawPenColor(unsigned long propVal)
  2106. {
  2107.     SetProperty(0xa6, VT_I4, propVal);
  2108. }
  2109.  
  2110. short CLead::GetDrawPenWidth()
  2111. {
  2112.     short result;
  2113.     GetProperty(0xa7, VT_I2, (void*)&result);
  2114.     return result;
  2115. }
  2116.  
  2117. void CLead::SetDrawPenWidth(short propVal)
  2118. {
  2119.     SetProperty(0xa7, VT_I2, propVal);
  2120. }
  2121.  
  2122. short CLead::GetDrawPenStyle()
  2123. {
  2124.     short result;
  2125.     GetProperty(0xa8, VT_I2, (void*)&result);
  2126.     return result;
  2127. }
  2128.  
  2129. void CLead::SetDrawPenStyle(short propVal)
  2130. {
  2131.     SetProperty(0xa8, VT_I2, propVal);
  2132. }
  2133.  
  2134. unsigned long CLead::GetDrawFillColor()
  2135. {
  2136.     unsigned long result;
  2137.     GetProperty(0xa9, VT_I4, (void*)&result);
  2138.     return result;
  2139. }
  2140.  
  2141. void CLead::SetDrawFillColor(unsigned long propVal)
  2142. {
  2143.     SetProperty(0xa9, VT_I4, propVal);
  2144. }
  2145.  
  2146. short CLead::GetDrawFillStyle()
  2147. {
  2148.     short result;
  2149.     GetProperty(0xaa, VT_I2, (void*)&result);
  2150.     return result;
  2151. }
  2152.  
  2153. void CLead::SetDrawFillStyle(short propVal)
  2154. {
  2155.     SetProperty(0xaa, VT_I2, propVal);
  2156. }
  2157.  
  2158. unsigned long CLead::GetDrawFontColor()
  2159. {
  2160.     unsigned long result;
  2161.     GetProperty(0xab, VT_I4, (void*)&result);
  2162.     return result;
  2163. }
  2164.  
  2165. void CLead::SetDrawFontColor(unsigned long propVal)
  2166. {
  2167.     SetProperty(0xab, VT_I4, propVal);
  2168. }
  2169.  
  2170. short CLead::GetPaintContrast()
  2171. {
  2172.     short result;
  2173.     GetProperty(0xac, VT_I2, (void*)&result);
  2174.     return result;
  2175. }
  2176.  
  2177. void CLead::SetPaintContrast(short propVal)
  2178. {
  2179.     SetProperty(0xac, VT_I2, propVal);
  2180. }
  2181.  
  2182. short CLead::GetPaintGamma()
  2183. {
  2184.     short result;
  2185.     GetProperty(0xad, VT_I2, (void*)&result);
  2186.     return result;
  2187. }
  2188.  
  2189. void CLead::SetPaintGamma(short propVal)
  2190. {
  2191.     SetProperty(0xad, VT_I2, propVal);
  2192. }
  2193.  
  2194. short CLead::GetPaintIntensity()
  2195. {
  2196.     short result;
  2197.     GetProperty(0xae, VT_I2, (void*)&result);
  2198.     return result;
  2199. }
  2200.  
  2201. void CLead::SetPaintIntensity(short propVal)
  2202. {
  2203.     SetProperty(0xae, VT_I2, propVal);
  2204. }
  2205.  
  2206. BOOL CLead::GetLoadUseViewPerspective()
  2207. {
  2208.     BOOL result;
  2209.     GetProperty(0xaf, VT_BOOL, (void*)&result);
  2210.     return result;
  2211. }
  2212.  
  2213. void CLead::SetLoadUseViewPerspective(BOOL propVal)
  2214. {
  2215.     SetProperty(0xaf, VT_BOOL, propVal);
  2216. }
  2217.  
  2218. BOOL CLead::GetAnnAutoRotate()
  2219. {
  2220.     BOOL result;
  2221.     GetProperty(0xb0, VT_BOOL, (void*)&result);
  2222.     return result;
  2223. }
  2224.  
  2225. void CLead::SetAnnAutoRotate(BOOL propVal)
  2226. {
  2227.     SetProperty(0xb0, VT_BOOL, propVal);
  2228. }
  2229.  
  2230. short CLead::GetTransitionStyle()
  2231. {
  2232.     short result;
  2233.     GetProperty(0xb1, VT_I2, (void*)&result);
  2234.     return result;
  2235. }
  2236.  
  2237. void CLead::SetTransitionStyle(short propVal)
  2238. {
  2239.     SetProperty(0xb1, VT_I2, propVal);
  2240. }
  2241.  
  2242. short CLead::GetTransitionEffect()
  2243. {
  2244.     short result;
  2245.     GetProperty(0xb2, VT_I2, (void*)&result);
  2246.     return result;
  2247. }
  2248.  
  2249. void CLead::SetTransitionEffect(short propVal)
  2250. {
  2251.     SetProperty(0xb2, VT_I2, propVal);
  2252. }
  2253.  
  2254. short CLead::GetGradientStyle()
  2255. {
  2256.     short result;
  2257.     GetProperty(0xb3, VT_I2, (void*)&result);
  2258.     return result;
  2259. }
  2260.  
  2261. void CLead::SetGradientStyle(short propVal)
  2262. {
  2263.     SetProperty(0xb3, VT_I2, propVal);
  2264. }
  2265.  
  2266. unsigned long CLead::GetGradientStartColor()
  2267. {
  2268.     unsigned long result;
  2269.     GetProperty(0xb4, VT_I4, (void*)&result);
  2270.     return result;
  2271. }
  2272.  
  2273. void CLead::SetGradientStartColor(unsigned long propVal)
  2274. {
  2275.     SetProperty(0xb4, VT_I4, propVal);
  2276. }
  2277.  
  2278. unsigned long CLead::GetGradientEndColor()
  2279. {
  2280.     unsigned long result;
  2281.     GetProperty(0xb5, VT_I4, (void*)&result);
  2282.     return result;
  2283. }
  2284.  
  2285. void CLead::SetGradientEndColor(unsigned long propVal)
  2286. {
  2287.     SetProperty(0xb5, VT_I4, propVal);
  2288. }
  2289.  
  2290. short CLead::GetGradientSteps()
  2291. {
  2292.     short result;
  2293.     GetProperty(0xb6, VT_I2, (void*)&result);
  2294.     return result;
  2295. }
  2296.  
  2297. void CLead::SetGradientSteps(short propVal)
  2298. {
  2299.     SetProperty(0xb6, VT_I2, propVal);
  2300. }
  2301.  
  2302. short CLead::GetPatternStyle()
  2303. {
  2304.     short result;
  2305.     GetProperty(0xb7, VT_I2, (void*)&result);
  2306.     return result;
  2307. }
  2308.  
  2309. void CLead::SetPatternStyle(short propVal)
  2310. {
  2311.     SetProperty(0xb7, VT_I2, propVal);
  2312. }
  2313.  
  2314. unsigned long CLead::GetPatternForeColor()
  2315. {
  2316.     unsigned long result;
  2317.     GetProperty(0xb8, VT_I4, (void*)&result);
  2318.     return result;
  2319. }
  2320.  
  2321. void CLead::SetPatternForeColor(unsigned long propVal)
  2322. {
  2323.     SetProperty(0xb8, VT_I4, propVal);
  2324. }
  2325.  
  2326. unsigned long CLead::GetPatternBackColor()
  2327. {
  2328.     unsigned long result;
  2329.     GetProperty(0xb9, VT_I4, (void*)&result);
  2330.     return result;
  2331. }
  2332.  
  2333. void CLead::SetPatternBackColor(unsigned long propVal)
  2334. {
  2335.     SetProperty(0xb9, VT_I4, propVal);
  2336. }
  2337.  
  2338. short CLead::GetPaintPass()
  2339. {
  2340.     short result;
  2341.     GetProperty(0xba, VT_I2, (void*)&result);
  2342.     return result;
  2343. }
  2344.  
  2345. void CLead::SetPaintPass(short propVal)
  2346. {
  2347.     SetProperty(0xba, VT_I2, propVal);
  2348. }
  2349.  
  2350. short CLead::GetPaintMaxPasses()
  2351. {
  2352.     short result;
  2353.     GetProperty(0xbb, VT_I2, (void*)&result);
  2354.     return result;
  2355. }
  2356.  
  2357. void CLead::SetPaintMaxPasses(short propVal)
  2358. {
  2359.     SetProperty(0xbb, VT_I2, propVal);
  2360. }
  2361.  
  2362. short CLead::GetEffectGrain()
  2363. {
  2364.     short result;
  2365.     GetProperty(0xbc, VT_I2, (void*)&result);
  2366.     return result;
  2367. }
  2368.  
  2369. void CLead::SetEffectGrain(short propVal)
  2370. {
  2371.     SetProperty(0xbc, VT_I2, propVal);
  2372. }
  2373.  
  2374. short CLead::GetEffectDelay()
  2375. {
  2376.     short result;
  2377.     GetProperty(0xbd, VT_I2, (void*)&result);
  2378.     return result;
  2379. }
  2380.  
  2381. void CLead::SetEffectDelay(short propVal)
  2382. {
  2383.     SetProperty(0xbd, VT_I2, propVal);
  2384. }
  2385.  
  2386. short CLead::GetWandSize()
  2387. {
  2388.     short result;
  2389.     GetProperty(0xbe, VT_I2, (void*)&result);
  2390.     return result;
  2391. }
  2392.  
  2393. void CLead::SetWandSize(short propVal)
  2394. {
  2395.     SetProperty(0xbe, VT_I2, propVal);
  2396. }
  2397.  
  2398. unsigned long CLead::GetWandColor()
  2399. {
  2400.     unsigned long result;
  2401.     GetProperty(0xbf, VT_I4, (void*)&result);
  2402.     return result;
  2403. }
  2404.  
  2405. void CLead::SetWandColor(unsigned long propVal)
  2406. {
  2407.     SetProperty(0xbf, VT_I4, propVal);
  2408. }
  2409.  
  2410. BOOL CLead::GetUseTransparentColor()
  2411. {
  2412.     BOOL result;
  2413.     GetProperty(0xc0, VT_BOOL, (void*)&result);
  2414.     return result;
  2415. }
  2416.  
  2417. void CLead::SetUseTransparentColor(BOOL propVal)
  2418. {
  2419.     SetProperty(0xc0, VT_BOOL, propVal);
  2420. }
  2421.  
  2422. unsigned long CLead::GetTransparentColor()
  2423. {
  2424.     unsigned long result;
  2425.     GetProperty(0xc1, VT_I4, (void*)&result);
  2426.     return result;
  2427. }
  2428.  
  2429. void CLead::SetTransparentColor(unsigned long propVal)
  2430. {
  2431.     SetProperty(0xc1, VT_I4, propVal);
  2432. }
  2433.  
  2434. BOOL CLead::GetPaintRgnOnly()
  2435. {
  2436.     BOOL result;
  2437.     GetProperty(0xc2, VT_BOOL, (void*)&result);
  2438.     return result;
  2439. }
  2440.  
  2441. void CLead::SetPaintRgnOnly(BOOL propVal)
  2442. {
  2443.     SetProperty(0xc2, VT_BOOL, propVal);
  2444. }
  2445.  
  2446. float CLead::GetShapeLeft()
  2447. {
  2448.     float result;
  2449.     GetProperty(0xc4, VT_R4, (void*)&result);
  2450.     return result;
  2451. }
  2452.  
  2453. void CLead::SetShapeLeft(float propVal)
  2454. {
  2455.     SetProperty(0xc4, VT_R4, propVal);
  2456. }
  2457.  
  2458. float CLead::GetShapeTop()
  2459. {
  2460.     float result;
  2461.     GetProperty(0xc3, VT_R4, (void*)&result);
  2462.     return result;
  2463. }
  2464.  
  2465. void CLead::SetShapeTop(float propVal)
  2466. {
  2467.     SetProperty(0xc3, VT_R4, propVal);
  2468. }
  2469.  
  2470. float CLead::GetShapeWidth()
  2471. {
  2472.     float result;
  2473.     GetProperty(0xc5, VT_R4, (void*)&result);
  2474.     return result;
  2475. }
  2476.  
  2477. void CLead::SetShapeWidth(float propVal)
  2478. {
  2479.     SetProperty(0xc5, VT_R4, propVal);
  2480. }
  2481.  
  2482. float CLead::GetShapeHeight()
  2483. {
  2484.     float result;
  2485.     GetProperty(0xc6, VT_R4, (void*)&result);
  2486.     return result;
  2487. }
  2488.  
  2489. void CLead::SetShapeHeight(float propVal)
  2490. {
  2491.     SetProperty(0xc6, VT_R4, propVal);
  2492. }
  2493.  
  2494. float CLead::GetShapeBorderThickness()
  2495. {
  2496.     float result;
  2497.     GetProperty(0xc7, VT_R4, (void*)&result);
  2498.     return result;
  2499. }
  2500.  
  2501. void CLead::SetShapeBorderThickness(float propVal)
  2502. {
  2503.     SetProperty(0xc7, VT_R4, propVal);
  2504. }
  2505.  
  2506. unsigned long CLead::GetShapeBorderColor()
  2507. {
  2508.     unsigned long result;
  2509.     GetProperty(0xc8, VT_I4, (void*)&result);
  2510.     return result;
  2511. }
  2512.  
  2513. void CLead::SetShapeBorderColor(unsigned long propVal)
  2514. {
  2515.     SetProperty(0xc8, VT_I4, propVal);
  2516. }
  2517.  
  2518. short CLead::GetShapeInnerBandStyle()
  2519. {
  2520.     short result;
  2521.     GetProperty(0xc9, VT_I2, (void*)&result);
  2522.     return result;
  2523. }
  2524.  
  2525. void CLead::SetShapeInnerBandStyle(short propVal)
  2526. {
  2527.     SetProperty(0xc9, VT_I2, propVal);
  2528. }
  2529.  
  2530. float CLead::GetShapeInnerBandThickness()
  2531. {
  2532.     float result;
  2533.     GetProperty(0xca, VT_R4, (void*)&result);
  2534.     return result;
  2535. }
  2536.  
  2537. void CLead::SetShapeInnerBandThickness(float propVal)
  2538. {
  2539.     SetProperty(0xca, VT_R4, propVal);
  2540. }
  2541.  
  2542. unsigned long CLead::GetShapeInnerBandHiliteColor()
  2543. {
  2544.     unsigned long result;
  2545.     GetProperty(0xcb, VT_I4, (void*)&result);
  2546.     return result;
  2547. }
  2548.  
  2549. void CLead::SetShapeInnerBandHiliteColor(unsigned long propVal)
  2550. {
  2551.     SetProperty(0xcb, VT_I4, propVal);
  2552. }
  2553.  
  2554. unsigned long CLead::GetShapeInnerBandShadowColor()
  2555. {
  2556.     unsigned long result;
  2557.     GetProperty(0xcc, VT_I4, (void*)&result);
  2558.     return result;
  2559. }
  2560.  
  2561. void CLead::SetShapeInnerBandShadowColor(unsigned long propVal)
  2562. {
  2563.     SetProperty(0xcc, VT_I4, propVal);
  2564. }
  2565.  
  2566. short CLead::GetShapeOuterBandStyle()
  2567. {
  2568.     short result;
  2569.     GetProperty(0xdc, VT_I2, (void*)&result);
  2570.     return result;
  2571. }
  2572.  
  2573. void CLead::SetShapeOuterBandStyle(short propVal)
  2574. {
  2575.     SetProperty(0xdc, VT_I2, propVal);
  2576. }
  2577.  
  2578. float CLead::GetShapeOuterBandThickness()
  2579. {
  2580.     float result;
  2581.     GetProperty(0xdd, VT_R4, (void*)&result);
  2582.     return result;
  2583. }
  2584.  
  2585. void CLead::SetShapeOuterBandThickness(float propVal)
  2586. {
  2587.     SetProperty(0xdd, VT_R4, propVal);
  2588. }
  2589.  
  2590. unsigned long CLead::GetShapeOuterBandHiliteColor()
  2591. {
  2592.     unsigned long result;
  2593.     GetProperty(0xde, VT_I4, (void*)&result);
  2594.     return result;
  2595. }
  2596.  
  2597. void CLead::SetShapeOuterBandHiliteColor(unsigned long propVal)
  2598. {
  2599.     SetProperty(0xde, VT_I4, propVal);
  2600. }
  2601.  
  2602. unsigned long CLead::GetShapeOuterBandShadowColor()
  2603. {
  2604.     unsigned long result;
  2605.     GetProperty(0xdf, VT_I4, (void*)&result);
  2606.     return result;
  2607. }
  2608.  
  2609. void CLead::SetShapeOuterBandShadowColor(unsigned long propVal)
  2610. {
  2611.     SetProperty(0xdf, VT_I4, propVal);
  2612. }
  2613.  
  2614. short CLead::GetShapeBackgroundStyle()
  2615. {
  2616.     short result;
  2617.     GetProperty(0xcd, VT_I2, (void*)&result);
  2618.     return result;
  2619. }
  2620.  
  2621. void CLead::SetShapeBackgroundStyle(short propVal)
  2622. {
  2623.     SetProperty(0xcd, VT_I2, propVal);
  2624. }
  2625.  
  2626. float CLead::GetBackgroundImageLeft()
  2627. {
  2628.     float result;
  2629.     GetProperty(0xcf, VT_R4, (void*)&result);
  2630.     return result;
  2631. }
  2632.  
  2633. void CLead::SetBackgroundImageLeft(float propVal)
  2634. {
  2635.     SetProperty(0xcf, VT_R4, propVal);
  2636. }
  2637.  
  2638. float CLead::GetBackgroundImageTop()
  2639. {
  2640.     float result;
  2641.     GetProperty(0xce, VT_R4, (void*)&result);
  2642.     return result;
  2643. }
  2644.  
  2645. void CLead::SetBackgroundImageTop(float propVal)
  2646. {
  2647.     SetProperty(0xce, VT_R4, propVal);
  2648. }
  2649.  
  2650. float CLead::GetBackgroundImageWidth()
  2651. {
  2652.     float result;
  2653.     GetProperty(0xd0, VT_R4, (void*)&result);
  2654.     return result;
  2655. }
  2656.  
  2657. void CLead::SetBackgroundImageWidth(float propVal)
  2658. {
  2659.     SetProperty(0xd0, VT_R4, propVal);
  2660. }
  2661.  
  2662. float CLead::GetBackgroundImageHeight()
  2663. {
  2664.     float result;
  2665.     GetProperty(0xd1, VT_R4, (void*)&result);
  2666.     return result;
  2667. }
  2668.  
  2669. void CLead::SetBackgroundImageHeight(float propVal)
  2670. {
  2671.     SetProperty(0xd1, VT_R4, propVal);
  2672. }
  2673.  
  2674. float CLead::GetShadowXDepth()
  2675. {
  2676.     float result;
  2677.     GetProperty(0xd2, VT_R4, (void*)&result);
  2678.     return result;
  2679. }
  2680.  
  2681. void CLead::SetShadowXDepth(float propVal)
  2682. {
  2683.     SetProperty(0xd2, VT_R4, propVal);
  2684. }
  2685.  
  2686. float CLead::GetShadowYDepth()
  2687. {
  2688.     float result;
  2689.     GetProperty(0xd3, VT_R4, (void*)&result);
  2690.     return result;
  2691. }
  2692.  
  2693. void CLead::SetShadowYDepth(float propVal)
  2694. {
  2695.     SetProperty(0xd3, VT_R4, propVal);
  2696. }
  2697.  
  2698. unsigned long CLead::GetShadowColor()
  2699. {
  2700.     unsigned long result;
  2701.     GetProperty(0xd4, VT_I4, (void*)&result);
  2702.     return result;
  2703. }
  2704.  
  2705. void CLead::SetShadowColor(unsigned long propVal)
  2706. {
  2707.     SetProperty(0xd4, VT_I4, propVal);
  2708. }
  2709.  
  2710. unsigned long CLead::GetTextHiliteColor()
  2711. {
  2712.     unsigned long result;
  2713.     GetProperty(0xd5, VT_I4, (void*)&result);
  2714.     return result;
  2715. }
  2716.  
  2717. void CLead::SetTextHiliteColor(unsigned long propVal)
  2718. {
  2719.     SetProperty(0xd5, VT_I4, propVal);
  2720. }
  2721.  
  2722. float CLead::GetTextLeft()
  2723. {
  2724.     float result;
  2725.     GetProperty(0xd6, VT_R4, (void*)&result);
  2726.     return result;
  2727. }
  2728.  
  2729. void CLead::SetTextLeft(float propVal)
  2730. {
  2731.     SetProperty(0xd6, VT_R4, propVal);
  2732. }
  2733.  
  2734. float CLead::GetTextTop()
  2735. {
  2736.     float result;
  2737.     GetProperty(0xd7, VT_R4, (void*)&result);
  2738.     return result;
  2739. }
  2740.  
  2741. void CLead::SetTextTop(float propVal)
  2742. {
  2743.     SetProperty(0xd7, VT_R4, propVal);
  2744. }
  2745.  
  2746. float CLead::GetTextWidth()
  2747. {
  2748.     float result;
  2749.     GetProperty(0xd8, VT_R4, (void*)&result);
  2750.     return result;
  2751. }
  2752.  
  2753. void CLead::SetTextWidth(float propVal)
  2754. {
  2755.     SetProperty(0xd8, VT_R4, propVal);
  2756. }
  2757.  
  2758. float CLead::GetTextHeight()
  2759. {
  2760.     float result;
  2761.     GetProperty(0xd9, VT_R4, (void*)&result);
  2762.     return result;
  2763. }
  2764.  
  2765. void CLead::SetTextHeight(float propVal)
  2766. {
  2767.     SetProperty(0xd9, VT_R4, propVal);
  2768. }
  2769.  
  2770. short CLead::GetTextAngle()
  2771. {
  2772.     short result;
  2773.     GetProperty(0xda, VT_I2, (void*)&result);
  2774.     return result;
  2775. }
  2776.  
  2777. void CLead::SetTextAngle(short propVal)
  2778. {
  2779.     SetProperty(0xda, VT_I2, propVal);
  2780. }
  2781.  
  2782. short CLead::GetTextStyle()
  2783. {
  2784.     short result;
  2785.     GetProperty(0xdb, VT_I2, (void*)&result);
  2786.     return result;
  2787. }
  2788.  
  2789. void CLead::SetTextStyle(short propVal)
  2790. {
  2791.     SetProperty(0xdb, VT_I2, propVal);
  2792. }
  2793.  
  2794. short CLead::GetShapeBorderStyle()
  2795. {
  2796.     short result;
  2797.     GetProperty(0xe0, VT_I2, (void*)&result);
  2798.     return result;
  2799. }
  2800.  
  2801. void CLead::SetShapeBorderStyle(short propVal)
  2802. {
  2803.     SetProperty(0xe0, VT_I2, propVal);
  2804. }
  2805.  
  2806. float CLead::GetFrameThickness()
  2807. {
  2808.     float result;
  2809.     GetProperty(0xe1, VT_R4, (void*)&result);
  2810.     return result;
  2811. }
  2812.  
  2813. void CLead::SetFrameThickness(float propVal)
  2814. {
  2815.     SetProperty(0xe1, VT_R4, propVal);
  2816. }
  2817.  
  2818. unsigned long CLead::GetFrameColor()
  2819. {
  2820.     unsigned long result;
  2821.     GetProperty(0xe2, VT_I4, (void*)&result);
  2822.     return result;
  2823. }
  2824.  
  2825. void CLead::SetFrameColor(unsigned long propVal)
  2826. {
  2827.     SetProperty(0xe2, VT_I4, propVal);
  2828. }
  2829.  
  2830. short CLead::GetFrameInnerStyle()
  2831. {
  2832.     short result;
  2833.     GetProperty(0xe3, VT_I2, (void*)&result);
  2834.     return result;
  2835. }
  2836.  
  2837. void CLead::SetFrameInnerStyle(short propVal)
  2838. {
  2839.     SetProperty(0xe3, VT_I2, propVal);
  2840. }
  2841.  
  2842. float CLead::GetFrameInnerThickness()
  2843. {
  2844.     float result;
  2845.     GetProperty(0xe4, VT_R4, (void*)&result);
  2846.     return result;
  2847. }
  2848.  
  2849. void CLead::SetFrameInnerThickness(float propVal)
  2850. {
  2851.     SetProperty(0xe4, VT_R4, propVal);
  2852. }
  2853.  
  2854. unsigned long CLead::GetFrameInnerHiliteColor()
  2855. {
  2856.     unsigned long result;
  2857.     GetProperty(0xe5, VT_I4, (void*)&result);
  2858.     return result;
  2859. }
  2860.  
  2861. void CLead::SetFrameInnerHiliteColor(unsigned long propVal)
  2862. {
  2863.     SetProperty(0xe5, VT_I4, propVal);
  2864. }
  2865.  
  2866. unsigned long CLead::GetFrameInnerShadowColor()
  2867. {
  2868.     unsigned long result;
  2869.     GetProperty(0xe6, VT_I4, (void*)&result);
  2870.     return result;
  2871. }
  2872.  
  2873. void CLead::SetFrameInnerShadowColor(unsigned long propVal)
  2874. {
  2875.     SetProperty(0xe6, VT_I4, propVal);
  2876. }
  2877.  
  2878. short CLead::GetFrameOuterStyle()
  2879. {
  2880.     short result;
  2881.     GetProperty(0xe7, VT_I2, (void*)&result);
  2882.     return result;
  2883. }
  2884.  
  2885. void CLead::SetFrameOuterStyle(short propVal)
  2886. {
  2887.     SetProperty(0xe7, VT_I2, propVal);
  2888. }
  2889.  
  2890. float CLead::GetFrameOuterThickness()
  2891. {
  2892.     float result;
  2893.     GetProperty(0xe8, VT_R4, (void*)&result);
  2894.     return result;
  2895. }
  2896.  
  2897. void CLead::SetFrameOuterThickness(float propVal)
  2898. {
  2899.     SetProperty(0xe8, VT_R4, propVal);
  2900. }
  2901.  
  2902. unsigned long CLead::GetFrameOuterHiliteColor()
  2903. {
  2904.     unsigned long result;
  2905.     GetProperty(0xe9, VT_I4, (void*)&result);
  2906.     return result;
  2907. }
  2908.  
  2909. void CLead::SetFrameOuterHiliteColor(unsigned long propVal)
  2910. {
  2911.     SetProperty(0xe9, VT_I4, propVal);
  2912. }
  2913.  
  2914. unsigned long CLead::GetFrameOuterShadowColor()
  2915. {
  2916.     unsigned long result;
  2917.     GetProperty(0xea, VT_I4, (void*)&result);
  2918.     return result;
  2919. }
  2920.  
  2921. void CLead::SetFrameOuterShadowColor(unsigned long propVal)
  2922. {
  2923.     SetProperty(0xea, VT_I4, propVal);
  2924. }
  2925.  
  2926. short CLead::GetTextAlign()
  2927. {
  2928.     short result;
  2929.     GetProperty(0xeb, VT_I2, (void*)&result);
  2930.     return result;
  2931. }
  2932.  
  2933. void CLead::SetTextAlign(short propVal)
  2934. {
  2935.     SetProperty(0xeb, VT_I2, propVal);
  2936. }
  2937.  
  2938. BOOL CLead::GetTextWordWrap()
  2939. {
  2940.     BOOL result;
  2941.     GetProperty(0xec, VT_BOOL, (void*)&result);
  2942.     return result;
  2943. }
  2944.  
  2945. void CLead::SetTextWordWrap(BOOL propVal)
  2946. {
  2947.     SetProperty(0xec, VT_BOOL, propVal);
  2948. }
  2949.  
  2950. long CLead::GetBitmapAlpha()
  2951. {
  2952.     long result;
  2953.     GetProperty(0xed, VT_I4, (void*)&result);
  2954.     return result;
  2955. }
  2956.  
  2957. void CLead::SetBitmapAlpha(long propVal)
  2958. {
  2959.     SetProperty(0xed, VT_I4, propVal);
  2960. }
  2961.  
  2962. short CLead::GetPaintNotificationDelay()
  2963. {
  2964.     short result;
  2965.     GetProperty(0xee, VT_I2, (void*)&result);
  2966.     return result;
  2967. }
  2968.  
  2969. void CLead::SetPaintNotificationDelay(short propVal)
  2970. {
  2971.     SetProperty(0xee, VT_I2, propVal);
  2972. }
  2973.  
  2974. BOOL CLead::GetTransparent()
  2975. {
  2976.     BOOL result;
  2977.     GetProperty(0xef, VT_BOOL, (void*)&result);
  2978.     return result;
  2979. }
  2980.  
  2981. void CLead::SetTransparent(BOOL propVal)
  2982. {
  2983.     SetProperty(0xef, VT_BOOL, propVal);
  2984. }
  2985.  
  2986. short CLead::GetLevelLowBit()
  2987. {
  2988.     short result;
  2989.     GetProperty(0xf0, VT_I2, (void*)&result);
  2990.     return result;
  2991. }
  2992.  
  2993. void CLead::SetLevelLowBit(short propVal)
  2994. {
  2995.     SetProperty(0xf0, VT_I2, propVal);
  2996. }
  2997.  
  2998. short CLead::GetLevelHighBit()
  2999. {
  3000.     short result;
  3001.     GetProperty(0xf1, VT_I2, (void*)&result);
  3002.     return result;
  3003. }
  3004.  
  3005. void CLead::SetLevelHighBit(short propVal)
  3006. {
  3007.     SetProperty(0xf1, VT_I2, propVal);
  3008. }
  3009.  
  3010. long CLead::GetLevelLUTLength()
  3011. {
  3012.     long result;
  3013.     GetProperty(0xf2, VT_I4, (void*)&result);
  3014.     return result;
  3015. }
  3016.  
  3017. void CLead::SetLevelLUTLength(long propVal)
  3018. {
  3019.     SetProperty(0xf2, VT_I4, propVal);
  3020. }
  3021.  
  3022. long CLead::GetMinVal()
  3023. {
  3024.     long result;
  3025.     GetProperty(0xf3, VT_I4, (void*)&result);
  3026.     return result;
  3027. }
  3028.  
  3029. void CLead::SetMinVal(long propVal)
  3030. {
  3031.     SetProperty(0xf3, VT_I4, propVal);
  3032. }
  3033.  
  3034. long CLead::GetMaxVal()
  3035. {
  3036.     long result;
  3037.     GetProperty(0xf4, VT_I4, (void*)&result);
  3038.     return result;
  3039. }
  3040.  
  3041. void CLead::SetMaxVal(long propVal)
  3042. {
  3043.     SetProperty(0xf4, VT_I4, propVal);
  3044. }
  3045.  
  3046. short CLead::GetMinBit()
  3047. {
  3048.     short result;
  3049.     GetProperty(0xf5, VT_I2, (void*)&result);
  3050.     return result;
  3051. }
  3052.  
  3053. void CLead::SetMinBit(short propVal)
  3054. {
  3055.     SetProperty(0xf5, VT_I2, propVal);
  3056. }
  3057.  
  3058. short CLead::GetMaxBit()
  3059. {
  3060.     short result;
  3061.     GetProperty(0xf6, VT_I2, (void*)&result);
  3062.     return result;
  3063. }
  3064.  
  3065. void CLead::SetMaxBit(short propVal)
  3066. {
  3067.     SetProperty(0xf6, VT_I2, propVal);
  3068. }
  3069.  
  3070. BOOL CLead::GetAnnShowLockedIcon()
  3071. {
  3072.     BOOL result;
  3073.     GetProperty(0xf7, VT_BOOL, (void*)&result);
  3074.     return result;
  3075. }
  3076.  
  3077. void CLead::SetAnnShowLockedIcon(BOOL propVal)
  3078. {
  3079.     SetProperty(0xf7, VT_BOOL, propVal);
  3080. }
  3081.  
  3082. BOOL CLead::GetAnnHyperlinkMenuEnable()
  3083. {
  3084.     BOOL result;
  3085.     GetProperty(0xf8, VT_BOOL, (void*)&result);
  3086.     return result;
  3087. }
  3088.  
  3089. void CLead::SetAnnHyperlinkMenuEnable(BOOL propVal)
  3090. {
  3091.     SetProperty(0xf8, VT_BOOL, propVal);
  3092. }
  3093.  
  3094. BOOL CLead::GetEnableZoomInRect()
  3095. {
  3096.     BOOL result;
  3097.     GetProperty(0xf9, VT_BOOL, (void*)&result);
  3098.     return result;
  3099. }
  3100.  
  3101. void CLead::SetEnableZoomInRect(BOOL propVal)
  3102. {
  3103.     SetProperty(0xf9, VT_BOOL, propVal);
  3104. }
  3105.  
  3106. short CLead::GetTwainIntensity()
  3107. {
  3108.     short result;
  3109.     GetProperty(0xfa, VT_I2, (void*)&result);
  3110.     return result;
  3111. }
  3112.  
  3113. void CLead::SetTwainIntensity(short propVal)
  3114. {
  3115.     SetProperty(0xfa, VT_I2, propVal);
  3116. }
  3117.  
  3118. short CLead::GetTwainContrast()
  3119. {
  3120.     short result;
  3121.     GetProperty(0xfb, VT_I2, (void*)&result);
  3122.     return result;
  3123. }
  3124.  
  3125. void CLead::SetTwainContrast(short propVal)
  3126. {
  3127.     SetProperty(0xfb, VT_I2, propVal);
  3128. }
  3129.  
  3130. short CLead::GetEnableTwainFeeder()
  3131. {
  3132.     short result;
  3133.     GetProperty(0xfc, VT_I2, (void*)&result);
  3134.     return result;
  3135. }
  3136.  
  3137. void CLead::SetEnableTwainFeeder(short propVal)
  3138. {
  3139.     SetProperty(0xfc, VT_I2, propVal);
  3140. }
  3141.  
  3142. short CLead::GetEnableTwainAutoFeed()
  3143. {
  3144.     short result;
  3145.     GetProperty(0xfd, VT_I2, (void*)&result);
  3146.     return result;
  3147. }
  3148.  
  3149. void CLead::SetEnableTwainAutoFeed(short propVal)
  3150. {
  3151.     SetProperty(0xfd, VT_I2, propVal);
  3152. }
  3153.  
  3154. float CLead::GetPanWinX()
  3155. {
  3156.     float result;
  3157.     GetProperty(0xfe, VT_R4, (void*)&result);
  3158.     return result;
  3159. }
  3160.  
  3161. void CLead::SetPanWinX(float propVal)
  3162. {
  3163.     SetProperty(0xfe, VT_R4, propVal);
  3164. }
  3165.  
  3166. float CLead::GetPanWinY()
  3167. {
  3168.     float result;
  3169.     GetProperty(0xff, VT_R4, (void*)&result);
  3170.     return result;
  3171. }
  3172.  
  3173. void CLead::SetPanWinY(float propVal)
  3174. {
  3175.     SetProperty(0xff, VT_R4, propVal);
  3176. }
  3177.  
  3178. float CLead::GetPanWinWidth()
  3179. {
  3180.     float result;
  3181.     GetProperty(0x100, VT_R4, (void*)&result);
  3182.     return result;
  3183. }
  3184.  
  3185. void CLead::SetPanWinWidth(float propVal)
  3186. {
  3187.     SetProperty(0x100, VT_R4, propVal);
  3188. }
  3189.  
  3190. float CLead::GetPanWinHeight()
  3191. {
  3192.     float result;
  3193.     GetProperty(0x101, VT_R4, (void*)&result);
  3194.     return result;
  3195. }
  3196.  
  3197. void CLead::SetPanWinHeight(float propVal)
  3198. {
  3199.     SetProperty(0x101, VT_R4, propVal);
  3200. }
  3201.  
  3202. unsigned long CLead::GetPanWinRectColor()
  3203. {
  3204.     unsigned long result;
  3205.     GetProperty(0x102, VT_I4, (void*)&result);
  3206.     return result;
  3207. }
  3208.  
  3209. void CLead::SetPanWinRectColor(unsigned long propVal)
  3210. {
  3211.     SetProperty(0x102, VT_I4, propVal);
  3212. }
  3213.  
  3214. CString CLead::GetPanWinTitle()
  3215. {
  3216.     CString result;
  3217.     GetProperty(0x103, VT_BSTR, (void*)&result);
  3218.     return result;
  3219. }
  3220.  
  3221. void CLead::SetPanWinTitle(LPCTSTR propVal)
  3222. {
  3223.     SetProperty(0x103, VT_BSTR, propVal);
  3224. }
  3225.  
  3226. BOOL CLead::GetPanWinSysMenu()
  3227. {
  3228.     BOOL result;
  3229.     GetProperty(0x104, VT_BOOL, (void*)&result);
  3230.     return result;
  3231. }
  3232.  
  3233. void CLead::SetPanWinSysMenu(BOOL propVal)
  3234. {
  3235.     SetProperty(0x104, VT_BOOL, propVal);
  3236. }
  3237.  
  3238. short CLead::GetPanWinPaintPalette()
  3239. {
  3240.     short result;
  3241.     GetProperty(0x105, VT_I2, (void*)&result);
  3242.     return result;
  3243. }
  3244.  
  3245. void CLead::SetPanWinPaintPalette(short propVal)
  3246. {
  3247.     SetProperty(0x105, VT_I2, propVal);
  3248. }
  3249.  
  3250. short CLead::GetPanWinBitonalScaling()
  3251. {
  3252.     short result;
  3253.     GetProperty(0x106, VT_I2, (void*)&result);
  3254.     return result;
  3255. }
  3256.  
  3257. void CLead::SetPanWinBitonalScaling(short propVal)
  3258. {
  3259.     SetProperty(0x106, VT_I2, propVal);
  3260. }
  3261.  
  3262. short CLead::GetPanWinPaintDither()
  3263. {
  3264.     short result;
  3265.     GetProperty(0x107, VT_I2, (void*)&result);
  3266.     return result;
  3267. }
  3268.  
  3269. void CLead::SetPanWinPaintDither(short propVal)
  3270. {
  3271.     SetProperty(0x107, VT_I2, propVal);
  3272. }
  3273.  
  3274. CPicture CLead::GetPanWinIcon()
  3275. {
  3276.     LPDISPATCH pDispatch;
  3277.     GetProperty(0x108, VT_DISPATCH, (void*)&pDispatch);
  3278.     return CPicture(pDispatch);
  3279. }
  3280.  
  3281. void CLead::SetPanWinIcon(LPDISPATCH propVal)
  3282. {
  3283.     SetProperty(0x108, VT_DISPATCH, propVal);
  3284. }
  3285.  
  3286. short CLead::GetPanWinPointer()
  3287. {
  3288.     short result;
  3289.     GetProperty(0x109, VT_I2, (void*)&result);
  3290.     return result;
  3291. }
  3292.  
  3293. void CLead::SetPanWinPointer(short propVal)
  3294. {
  3295.     SetProperty(0x109, VT_I2, propVal);
  3296. }
  3297.  
  3298. CPicture CLead::GetPanWinCursor()
  3299. {
  3300.     LPDISPATCH pDispatch;
  3301.     GetProperty(0x10a, VT_DISPATCH, (void*)&pDispatch);
  3302.     return CPicture(pDispatch);
  3303. }
  3304.  
  3305. void CLead::SetPanWinCursor(LPDISPATCH propVal)
  3306. {
  3307.     SetProperty(0x10a, VT_DISPATCH, propVal);
  3308. }
  3309.  
  3310. short CLead::GetInfoTotalPages()
  3311. {
  3312.     short result;
  3313.     GetProperty(0x10b, VT_I2, (void*)&result);
  3314.     return result;
  3315. }
  3316.  
  3317. void CLead::SetInfoTotalPages(short propVal)
  3318. {
  3319.     SetProperty(0x10b, VT_I2, propVal);
  3320. }
  3321.  
  3322. short CLead::GetSavePage()
  3323. {
  3324.     short result;
  3325.     GetProperty(0x10c, VT_I2, (void*)&result);
  3326.     return result;
  3327. }
  3328.  
  3329. void CLead::SetSavePage(short propVal)
  3330. {
  3331.     SetProperty(0x10c, VT_I2, propVal);
  3332. }
  3333.  
  3334. long CLead::GetAnimationBitmap()
  3335. {
  3336.     long result;
  3337.     GetProperty(0x10d, VT_I4, (void*)&result);
  3338.     return result;
  3339. }
  3340.  
  3341. void CLead::SetAnimationBitmap(long propVal)
  3342. {
  3343.     SetProperty(0x10d, VT_I4, propVal);
  3344. }
  3345.  
  3346. /////////////////////////////////////////////////////////////////////////////
  3347. // CLead operations
  3348.  
  3349. void CLead::AboutBox()
  3350. {
  3351.     InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3352. }
  3353.  
  3354. short CLead::Average(short iDim)
  3355. {
  3356.     short result;
  3357.     static BYTE parms[] =
  3358.         VTS_I2;
  3359.     InvokeHelper(0x10e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3360.         iDim);
  3361.     return result;
  3362. }
  3363.  
  3364. short CLead::Median(short iDim)
  3365. {
  3366.     short result;
  3367.     static BYTE parms[] =
  3368.         VTS_I2;
  3369.     InvokeHelper(0x10f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3370.         iDim);
  3371.     return result;
  3372. }
  3373.  
  3374. short CLead::Contrast(short iChange)
  3375. {
  3376.     short result;
  3377.     static BYTE parms[] =
  3378.         VTS_I2;
  3379.     InvokeHelper(0x110, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3380.         iChange);
  3381.     return result;
  3382. }
  3383.  
  3384. short CLead::Despeckle()
  3385. {
  3386.     short result;
  3387.     InvokeHelper(0x111, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3388.     return result;
  3389. }
  3390.  
  3391. short CLead::Flip()
  3392. {
  3393.     short result;
  3394.     InvokeHelper(0x112, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3395.     return result;
  3396. }
  3397.  
  3398. short CLead::Grayscale(short iBitsPerPixel)
  3399. {
  3400.     short result;
  3401.     static BYTE parms[] =
  3402.         VTS_I2;
  3403.     InvokeHelper(0x113, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3404.         iBitsPerPixel);
  3405.     return result;
  3406. }
  3407.  
  3408. short CLead::HistoEqualize()
  3409. {
  3410.     short result;
  3411.     InvokeHelper(0x114, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3412.     return result;
  3413. }
  3414.  
  3415. short CLead::Hue(short iAngle)
  3416. {
  3417.     short result;
  3418.     static BYTE parms[] =
  3419.         VTS_I2;
  3420.     InvokeHelper(0x115, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3421.         iAngle);
  3422.     return result;
  3423. }
  3424.  
  3425. short CLead::Intensity(short iChange)
  3426. {
  3427.     short result;
  3428.     static BYTE parms[] =
  3429.         VTS_I2;
  3430.     InvokeHelper(0x116, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3431.         iChange);
  3432.     return result;
  3433. }
  3434.  
  3435. short CLead::Invert()
  3436. {
  3437.     short result;
  3438.     InvokeHelper(0x117, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3439.     return result;
  3440. }
  3441.  
  3442. short CLead::TwainAcquire(long hWnd)
  3443. {
  3444.     short result;
  3445.     static BYTE parms[] =
  3446.         VTS_I4;
  3447.     InvokeHelper(0x118, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3448.         hWnd);
  3449.     return result;
  3450. }
  3451.  
  3452. short CLead::TwainSelect(long hWnd)
  3453. {
  3454.     short result;
  3455.     static BYTE parms[] =
  3456.         VTS_I4;
  3457.     InvokeHelper(0x119, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3458.         hWnd);
  3459.     return result;
  3460. }
  3461.  
  3462. short CLead::Sharpen(short iChange)
  3463. {
  3464.     short result;
  3465.     static BYTE parms[] =
  3466.         VTS_I2;
  3467.     InvokeHelper(0x11a, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3468.         iChange);
  3469.     return result;
  3470. }
  3471.  
  3472. short CLead::Saturation(short iChange)
  3473. {
  3474.     short result;
  3475.     static BYTE parms[] =
  3476.         VTS_I2;
  3477.     InvokeHelper(0x11b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3478.         iChange);
  3479.     return result;
  3480. }
  3481.  
  3482. short CLead::Reverse()
  3483. {
  3484.     short result;
  3485.     InvokeHelper(0x11c, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3486.     return result;
  3487. }
  3488.  
  3489. short CLead::ForceRepaint()
  3490. {
  3491.     short result;
  3492.     InvokeHelper(0x11d, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3493.     return result;
  3494. }
  3495.  
  3496. short CLead::Mosaic(short iDim)
  3497. {
  3498.     short result;
  3499.     static BYTE parms[] =
  3500.         VTS_I2;
  3501.     InvokeHelper(0x11e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3502.         iDim);
  3503.     return result;
  3504. }
  3505.  
  3506. short CLead::SpatialFilter(short iType)
  3507. {
  3508.     short result;
  3509.     static BYTE parms[] =
  3510.         VTS_I2;
  3511.     InvokeHelper(0x11f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3512.         iType);
  3513.     return result;
  3514. }
  3515.  
  3516. short CLead::BinaryFilter(short iType)
  3517. {
  3518.     short result;
  3519.     static BYTE parms[] =
  3520.         VTS_I2;
  3521.     InvokeHelper(0x120, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3522.         iType);
  3523.     return result;
  3524. }
  3525.  
  3526. short CLead::Save(LPCTSTR pszName, short iFormat, short iBitsPerPixel, short iQuality, short iModify)
  3527. {
  3528.     short result;
  3529.     static BYTE parms[] =
  3530.         VTS_BSTR VTS_I2 VTS_I2 VTS_I2 VTS_I2;
  3531.     InvokeHelper(0x121, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3532.         pszName, iFormat, iBitsPerPixel, iQuality, iModify);
  3533.     return result;
  3534. }
  3535.  
  3536. short CLead::Posterize(short iLevels)
  3537. {
  3538.     short result;
  3539.     static BYTE parms[] =
  3540.         VTS_I2;
  3541.     InvokeHelper(0x122, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3542.         iLevels);
  3543.     return result;
  3544. }
  3545.  
  3546. CPicture CLead::GetPicture()
  3547. {
  3548.     LPDISPATCH pDispatch;
  3549.     InvokeHelper(0x123, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL);
  3550.     return CPicture(pDispatch);
  3551. }
  3552.  
  3553. short CLead::SetPicture(LPDISPATCH pPicture)
  3554. {
  3555.     short result;
  3556.     static BYTE parms[] =
  3557.         VTS_DISPATCH;
  3558.     InvokeHelper(0x124, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3559.         pPicture);
  3560.     return result;
  3561. }
  3562.  
  3563. short CLead::Rotate(long iAngle, BOOL bResize, unsigned long crFill)
  3564. {
  3565.     short result;
  3566.     static BYTE parms[] =
  3567.         VTS_I4 VTS_BOOL VTS_I4;
  3568.     InvokeHelper(0x125, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3569.         iAngle, bResize, crFill);
  3570.     return result;
  3571. }
  3572.  
  3573. short CLead::Emboss(short iDirection, short iDepth)
  3574. {
  3575.     short result;
  3576.     static BYTE parms[] =
  3577.         VTS_I2 VTS_I2;
  3578.     InvokeHelper(0x126, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3579.         iDirection, iDepth);
  3580.     return result;
  3581. }
  3582.  
  3583. short CLead::AddNoise(short iRange, short iChannel)
  3584. {
  3585.     short result;
  3586.     static BYTE parms[] =
  3587.         VTS_I2 VTS_I2;
  3588.     InvokeHelper(0x127, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3589.         iRange, iChannel);
  3590.     return result;
  3591. }
  3592.  
  3593. short CLead::IntensityDetect(short iLow, short iHigh)
  3594. {
  3595.     short result;
  3596.     static BYTE parms[] =
  3597.         VTS_I2 VTS_I2;
  3598.     InvokeHelper(0x128, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3599.         iLow, iHigh);
  3600.     return result;
  3601. }
  3602.  
  3603. short CLead::Fill(unsigned long crFill)
  3604. {
  3605.     short result;
  3606.     static BYTE parms[] =
  3607.         VTS_I4;
  3608.     InvokeHelper(0x129, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3609.         crFill);
  3610.     return result;
  3611. }
  3612.  
  3613. short CLead::StretchIntensity()
  3614. {
  3615.     short result;
  3616.     InvokeHelper(0x12a, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3617.     return result;
  3618. }
  3619.  
  3620. short CLead::Deskew()
  3621. {
  3622.     short result;
  3623.     InvokeHelper(0x12b, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3624.     return result;
  3625. }
  3626.  
  3627. short CLead::GammaCorrect(short iGamma)
  3628. {
  3629.     short result;
  3630.     static BYTE parms[] =
  3631.         VTS_I2;
  3632.     InvokeHelper(0x12c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3633.         iGamma);
  3634.     return result;
  3635. }
  3636.  
  3637. short CLead::Shear(short iAngle, BOOL bHorizontal, unsigned long crFill)
  3638. {
  3639.     short result;
  3640.     static BYTE parms[] =
  3641.         VTS_I2 VTS_BOOL VTS_I4;
  3642.     InvokeHelper(0x12d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3643.         iAngle, bHorizontal, crFill);
  3644.     return result;
  3645. }
  3646.  
  3647. short CLead::CreateBitmap(float fWidth, float fHeight, short iBitsPerPixel)
  3648. {
  3649.     short result;
  3650.     static BYTE parms[] =
  3651.         VTS_R4 VTS_R4 VTS_I2;
  3652.     InvokeHelper(0x12e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3653.         fWidth, fHeight, iBitsPerPixel);
  3654.     return result;
  3655. }
  3656.  
  3657. short CLead::Render(long hDC, float fLeft, float fTop, float fWidth, float fHeight)
  3658. {
  3659.     short result;
  3660.     static BYTE parms[] =
  3661.         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3662.     InvokeHelper(0x12f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3663.         hDC, fLeft, fTop, fWidth, fHeight);
  3664.     return result;
  3665. }
  3666.  
  3667. long CLead::GetBitmapDC()
  3668. {
  3669.     long result;
  3670.     InvokeHelper(0x130, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  3671.     return result;
  3672. }
  3673.  
  3674. short CLead::ReleaseBitmapDC()
  3675. {
  3676.     short result;
  3677.     InvokeHelper(0x131, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3678.     return result;
  3679. }
  3680.  
  3681. short CLead::Halftone(short iType, long iAngle)
  3682. {
  3683.     short result;
  3684.     static BYTE parms[] =
  3685.         VTS_I2 VTS_I4;
  3686.     InvokeHelper(0x132, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3687.         iType, iAngle);
  3688.     return result;
  3689. }
  3690.  
  3691. short CLead::Size(float fWidth, float fHeight, short iFlags)
  3692. {
  3693.     short result;
  3694.     static BYTE parms[] =
  3695.         VTS_R4 VTS_R4 VTS_I2;
  3696.     InvokeHelper(0x133, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3697.         fWidth, fHeight, iFlags);
  3698.     return result;
  3699. }
  3700.  
  3701. short CLead::Copy(short iFlags)
  3702. {
  3703.     short result;
  3704.     static BYTE parms[] =
  3705.         VTS_I2;
  3706.     InvokeHelper(0x134, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3707.         iFlags);
  3708.     return result;
  3709. }
  3710.  
  3711. short CLead::Paste(short iFlags)
  3712. {
  3713.     short result;
  3714.     static BYTE parms[] =
  3715.         VTS_I2;
  3716.     InvokeHelper(0x135, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3717.         iFlags);
  3718.     return result;
  3719. }
  3720.  
  3721. short CLead::Load(LPCTSTR pszName, short iBitsPerPixel, short iPage, short iPages)
  3722. {
  3723.     short result;
  3724.     static BYTE parms[] =
  3725.         VTS_BSTR VTS_I2 VTS_I2 VTS_I2;
  3726.     InvokeHelper(0x136, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3727.         pszName, iBitsPerPixel, iPage, iPages);
  3728.     return result;
  3729. }
  3730.  
  3731. short CLead::SetDIB(long hDIB)
  3732. {
  3733.     short result;
  3734.     static BYTE parms[] =
  3735.         VTS_I4;
  3736.     InvokeHelper(0x137, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3737.         hDIB);
  3738.     return result;
  3739. }
  3740.  
  3741. long CLead::GetDIB()
  3742. {
  3743.     long result;
  3744.     InvokeHelper(0x138, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  3745.     return result;
  3746. }
  3747.  
  3748. short CLead::SetDDB(long hDC, long hBitmap, long hPalette)
  3749. {
  3750.     short result;
  3751.     static BYTE parms[] =
  3752.         VTS_I4 VTS_I4 VTS_I4;
  3753.     InvokeHelper(0x139, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3754.         hDC, hBitmap, hPalette);
  3755.     return result;
  3756. }
  3757.  
  3758. long CLead::GetDDB(long hDC)
  3759. {
  3760.     long result;
  3761.     static BYTE parms[] =
  3762.         VTS_I4;
  3763.     InvokeHelper(0x13a, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  3764.         hDC);
  3765.     return result;
  3766. }
  3767.  
  3768. short CLead::RemapIntensity(short iChannel)
  3769. {
  3770.     short result;
  3771.     static BYTE parms[] =
  3772.         VTS_I2;
  3773.     InvokeHelper(0x13b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3774.         iChannel);
  3775.     return result;
  3776. }
  3777.  
  3778. short CLead::GetHistogram(short iChannel)
  3779. {
  3780.     short result;
  3781.     static BYTE parms[] =
  3782.         VTS_I2;
  3783.     InvokeHelper(0x13c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3784.         iChannel);
  3785.     return result;
  3786. }
  3787.  
  3788. short CLead::ColorRes(short iBitsPerPixel, short iPalette, short iDither, short iColors)
  3789. {
  3790.     short result;
  3791.     static BYTE parms[] =
  3792.         VTS_I2 VTS_I2 VTS_I2 VTS_I2;
  3793.     InvokeHelper(0x13d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3794.         iBitsPerPixel, iPalette, iDither, iColors);
  3795.     return result;
  3796. }
  3797.  
  3798. short CLead::Capture(long hDC, float fLeft, float fTop, float fWidth, float fHeight)
  3799. {
  3800.     short result;
  3801.     static BYTE parms[] =
  3802.         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3803.     InvokeHelper(0x13e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3804.         hDC, fLeft, fTop, fWidth, fHeight);
  3805.     return result;
  3806. }
  3807.  
  3808. short CLead::ColorSeparate(long iFlags)
  3809. {
  3810.     short result;
  3811.     static BYTE parms[] =
  3812.         VTS_I4;
  3813.     InvokeHelper(0x13f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3814.         iFlags);
  3815.     return result;
  3816. }
  3817.  
  3818. short CLead::ColorMerge(long iFlags)
  3819. {
  3820.     short result;
  3821.     static BYTE parms[] =
  3822.         VTS_I4;
  3823.     InvokeHelper(0x140, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3824.         iFlags);
  3825.     return result;
  3826. }
  3827.  
  3828. short CLead::Underlay(long hBitmap, short iFlags)
  3829. {
  3830.     short result;
  3831.     static BYTE parms[] =
  3832.         VTS_I4 VTS_I2;
  3833.     InvokeHelper(0x141, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3834.         hBitmap, iFlags);
  3835.     return result;
  3836. }
  3837.  
  3838. short CLead::Combine(float fLeft, float fTop, float fWidth, float fHeight, long hBitmap, float fSrcLeft, float fSrcTop, long iFlags)
  3839. {
  3840.     short result;
  3841.     static BYTE parms[] =
  3842.         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_I4 VTS_R4 VTS_R4 VTS_I4;
  3843.     InvokeHelper(0x142, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3844.         fLeft, fTop, fWidth, fHeight, hBitmap, fSrcLeft, fSrcTop, iFlags);
  3845.     return result;
  3846. }
  3847.  
  3848. short CLead::SetDstRect(float fLeft, float fTop, float fWidth, float fHeight)
  3849. {
  3850.     short result;
  3851.     static BYTE parms[] =
  3852.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3853.     InvokeHelper(0x143, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3854.         fLeft, fTop, fWidth, fHeight);
  3855.     return result;
  3856. }
  3857.  
  3858. short CLead::SetDstClipRect(float fLeft, float fTop, float fWidth, float fHeight)
  3859. {
  3860.     short result;
  3861.     static BYTE parms[] =
  3862.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3863.     InvokeHelper(0x144, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3864.         fLeft, fTop, fWidth, fHeight);
  3865.     return result;
  3866. }
  3867.  
  3868. short CLead::SetSrcRect(float fLeft, float fTop, float fWidth, float fHeight)
  3869. {
  3870.     short result;
  3871.     static BYTE parms[] =
  3872.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3873.     InvokeHelper(0x145, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3874.         fLeft, fTop, fWidth, fHeight);
  3875.     return result;
  3876. }
  3877.  
  3878. short CLead::SetSrcClipRect(float fLeft, float fTop, float fWidth, float fHeight)
  3879. {
  3880.     short result;
  3881.     static BYTE parms[] =
  3882.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3883.     InvokeHelper(0x146, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3884.         fLeft, fTop, fWidth, fHeight);
  3885.     return result;
  3886. }
  3887.  
  3888. short CLead::Trim(float fLeft, float fTop, float fWidth, float fHeight)
  3889. {
  3890.     short result;
  3891.     static BYTE parms[] =
  3892.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3893.     InvokeHelper(0x147, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3894.         fLeft, fTop, fWidth, fHeight);
  3895.     return result;
  3896. }
  3897.  
  3898. short CLead::HistoContrast(short iChange)
  3899. {
  3900.     short result;
  3901.     static BYTE parms[] =
  3902.         VTS_I2;
  3903.     InvokeHelper(0x148, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3904.         iChange);
  3905.     return result;
  3906. }
  3907.  
  3908. short CLead::GetFileInfo(LPCTSTR pszName, short iPage)
  3909. {
  3910.     short result;
  3911.     static BYTE parms[] =
  3912.         VTS_BSTR VTS_I2;
  3913.     InvokeHelper(0x149, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3914.         pszName, iPage);
  3915.     return result;
  3916. }
  3917.  
  3918. short CLead::SaveWithStamp(LPCTSTR pszName, short iFormat, short iBitsPerPixel, short iQuality, float fStampWidth, float fStampHeight, short iStampBits)
  3919. {
  3920.     short result;
  3921.     static BYTE parms[] =
  3922.         VTS_BSTR VTS_I2 VTS_I2 VTS_I2 VTS_R4 VTS_R4 VTS_I2;
  3923.     InvokeHelper(0x14a, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3924.         pszName, iFormat, iBitsPerPixel, iQuality, fStampWidth, fStampHeight, iStampBits);
  3925.     return result;
  3926. }
  3927.  
  3928. short CLead::LoadStamp(LPCTSTR pszName)
  3929. {
  3930.     short result;
  3931.     static BYTE parms[] =
  3932.         VTS_BSTR;
  3933.     InvokeHelper(0x14b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  3934.         pszName);
  3935.     return result;
  3936. }
  3937.  
  3938. void CLead::SetRubberBandRect(float fLeft, float fTop, float fWidth, float fHeight)
  3939. {
  3940.     static BYTE parms[] =
  3941.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  3942.     InvokeHelper(0x14c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  3943.          fLeft, fTop, fWidth, fHeight);
  3944. }
  3945.  
  3946. long CLead::GetClientDC()
  3947. {
  3948.     long result;
  3949.     InvokeHelper(0x14d, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  3950.     return result;
  3951. }
  3952.  
  3953. short CLead::ReleaseClientDC()
  3954. {
  3955.     short result;
  3956.     InvokeHelper(0x14e, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  3957.     return result;
  3958. }
  3959.  
  3960. void CLead::dbAddNew()
  3961. {
  3962.     InvokeHelper(0x14f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3963. }
  3964.  
  3965. void CLead::dbDelete()
  3966. {
  3967.     InvokeHelper(0x150, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3968. }
  3969.  
  3970. void CLead::dbEdit()
  3971. {
  3972.     InvokeHelper(0x151, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3973. }
  3974.  
  3975. void CLead::dbMove(long lRows)
  3976. {
  3977.     static BYTE parms[] =
  3978.         VTS_I4;
  3979.     InvokeHelper(0x152, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  3980.          lRows);
  3981. }
  3982.  
  3983. void CLead::dbMoveFirst()
  3984. {
  3985.     InvokeHelper(0x153, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3986. }
  3987.  
  3988. void CLead::dbMoveLast()
  3989. {
  3990.     InvokeHelper(0x154, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3991. }
  3992.  
  3993. void CLead::dbMoveNext()
  3994. {
  3995.     InvokeHelper(0x155, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  3996. }
  3997.  
  3998. void CLead::dbMovePrev()
  3999. {
  4000.     InvokeHelper(0x156, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  4001. }
  4002.  
  4003. void CLead::dbClose()
  4004. {
  4005.     InvokeHelper(0x157, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  4006. }
  4007.  
  4008. long CLead::GetPalette(long hDC)
  4009. {
  4010.     long result;
  4011.     static BYTE parms[] =
  4012.         VTS_I4;
  4013.     InvokeHelper(0x158, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  4014.         hDC);
  4015.     return result;
  4016. }
  4017.  
  4018. BOOL CLead::dbRequery()
  4019. {
  4020.     BOOL result;
  4021.     InvokeHelper(0x159, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
  4022.     return result;
  4023. }
  4024.  
  4025. BOOL CLead::dbOpen(LPCTSTR pszConnect, LPCTSTR pszSQL, LPCTSTR pszField, long iOptions)
  4026. {
  4027.     BOOL result;
  4028.     static BYTE parms[] =
  4029.         VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4;
  4030.     InvokeHelper(0x15a, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  4031.         pszConnect, pszSQL, pszField, iOptions);
  4032.     return result;
  4033. }
  4034.  
  4035. short CLead::dbUpdate(short iFormat, short iBitsPerPixel, short iQuality)
  4036. {
  4037.     short result;
  4038.     static BYTE parms[] =
  4039.         VTS_I2 VTS_I2 VTS_I2;
  4040.     InvokeHelper(0x15b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4041.         iFormat, iBitsPerPixel, iQuality);
  4042.     return result;
  4043. }
  4044.  
  4045. long CLead::PrintStart()
  4046. {
  4047.     long result;
  4048.     InvokeHelper(0x15c, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  4049.     return result;
  4050. }
  4051.  
  4052. void CLead::PrintEnd(long hDC)
  4053. {
  4054.     static BYTE parms[] =
  4055.         VTS_I4;
  4056.     InvokeHelper(0x15d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  4057.          hDC);
  4058. }
  4059.  
  4060. short CLead::TwainRealize(long hWnd)
  4061. {
  4062.     short result;
  4063.     static BYTE parms[] =
  4064.         VTS_I4;
  4065.     InvokeHelper(0x15e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4066.         hWnd);
  4067.     return result;
  4068. }
  4069.  
  4070. short CLead::TwainEnumSources(long hWnd)
  4071. {
  4072.     short result;
  4073.     static BYTE parms[] =
  4074.         VTS_I4;
  4075.     InvokeHelper(0x15f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4076.         hWnd);
  4077.     return result;
  4078. }
  4079.  
  4080. void CLead::UnlockSupport(short iType, LPCTSTR pszKey)
  4081. {
  4082.     static BYTE parms[] =
  4083.         VTS_I2 VTS_BSTR;
  4084.     InvokeHelper(0x160, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  4085.          iType, pszKey);
  4086. }
  4087.  
  4088. BOOL CLead::IsSupportLocked(short iType)
  4089. {
  4090.     BOOL result;
  4091.     static BYTE parms[] =
  4092.         VTS_I2;
  4093.     InvokeHelper(0x161, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  4094.         iType);
  4095.     return result;
  4096. }
  4097.  
  4098. short CLead::StartFeedLoad(short iBitsPerPixel, short iPage, short iPages)
  4099. {
  4100.     short result;
  4101.     static BYTE parms[] =
  4102.         VTS_I2 VTS_I2 VTS_I2;
  4103.     InvokeHelper(0x162, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4104.         iBitsPerPixel, iPage, iPages);
  4105.     return result;
  4106. }
  4107.  
  4108. short CLead::StopFeedLoad()
  4109. {
  4110.     short result;
  4111.     InvokeHelper(0x163, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4112.     return result;
  4113. }
  4114.  
  4115. short CLead::SaveMemory(long* phMem, short iFormat, short iBitsPerPixel, short iQuality, long* piSize)
  4116. {
  4117.     short result;
  4118.     static BYTE parms[] =
  4119.         VTS_PI4 VTS_I2 VTS_I2 VTS_I2 VTS_PI4;
  4120.     InvokeHelper(0x164, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4121.         phMem, iFormat, iBitsPerPixel, iQuality, piSize);
  4122.     return result;
  4123. }
  4124.  
  4125. short CLead::LoadMemory(long hMem, short iBitsPerPixel, short iPage, long iSize)
  4126. {
  4127.     short result;
  4128.     static BYTE parms[] =
  4129.         VTS_I4 VTS_I2 VTS_I2 VTS_I4;
  4130.     InvokeHelper(0x165, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4131.         hMem, iBitsPerPixel, iPage, iSize);
  4132.     return result;
  4133. }
  4134.  
  4135. short CLead::GetMemoryInfo(long hMem, short iPage, long iSize)
  4136. {
  4137.     short result;
  4138.     static BYTE parms[] =
  4139.         VTS_I4 VTS_I2 VTS_I4;
  4140.     InvokeHelper(0x166, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4141.         hMem, iPage, iSize);
  4142.     return result;
  4143. }
  4144.  
  4145. short CLead::FeedLoad(const VARIANT& vBuffer, long iSize)
  4146. {
  4147.     short result;
  4148.     static BYTE parms[] =
  4149.         VTS_VARIANT VTS_I4;
  4150.     InvokeHelper(0x167, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4151.         &vBuffer, iSize);
  4152.     return result;
  4153. }
  4154.  
  4155. BOOL CLead::DeleteRgnHandle(long hRgn)
  4156. {
  4157.     BOOL result;
  4158.     static BYTE parms[] =
  4159.         VTS_I4;
  4160.     InvokeHelper(0x168, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  4161.         hRgn);
  4162.     return result;
  4163. }
  4164.  
  4165. short CLead::FreeRgn()
  4166. {
  4167.     short result;
  4168.     InvokeHelper(0x169, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4169.     return result;
  4170. }
  4171.  
  4172. long CLead::GetRgnArea()
  4173. {
  4174.     long result;
  4175.     InvokeHelper(0x16a, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  4176.     return result;
  4177. }
  4178.  
  4179. long CLead::GetRgnHandle()
  4180. {
  4181.     long result;
  4182.     InvokeHelper(0x16b, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  4183.     return result;
  4184. }
  4185.  
  4186. BOOL CLead::IsPtInRgn(float fx, float fy)
  4187. {
  4188.     BOOL result;
  4189.     static BYTE parms[] =
  4190.         VTS_R4 VTS_R4;
  4191.     InvokeHelper(0x16c, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  4192.         fx, fy);
  4193.     return result;
  4194. }
  4195.  
  4196. short CLead::OffsetRgn(float fDx, float fDy)
  4197. {
  4198.     short result;
  4199.     static BYTE parms[] =
  4200.         VTS_R4 VTS_R4;
  4201.     InvokeHelper(0x16d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4202.         fDx, fDy);
  4203.     return result;
  4204. }
  4205.  
  4206. short CLead::SetRgnColor(unsigned long crMatch, short iCombineMode)
  4207. {
  4208.     short result;
  4209.     static BYTE parms[] =
  4210.         VTS_I4 VTS_I2;
  4211.     InvokeHelper(0x16e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4212.         crMatch, iCombineMode);
  4213.     return result;
  4214. }
  4215.  
  4216. short CLead::SetRgnHandle(long hRgn, float fDx, float fDy, short iCombineMode)
  4217. {
  4218.     short result;
  4219.     static BYTE parms[] =
  4220.         VTS_I4 VTS_R4 VTS_R4 VTS_I2;
  4221.     InvokeHelper(0x16f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4222.         hRgn, fDx, fDy, iCombineMode);
  4223.     return result;
  4224. }
  4225.  
  4226. short CLead::SetRgnEllipse(float fLeft, float fTop, float fWidth, float fHeight, short iCombineMode)
  4227. {
  4228.     short result;
  4229.     static BYTE parms[] =
  4230.         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_I2;
  4231.     InvokeHelper(0x170, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4232.         fLeft, fTop, fWidth, fHeight, iCombineMode);
  4233.     return result;
  4234. }
  4235.  
  4236. short CLead::SetRgnRect(float fLeft, float fTop, float fWidth, float fHeight, short iCombineMode)
  4237. {
  4238.     short result;
  4239.     static BYTE parms[] =
  4240.         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_I2;
  4241.     InvokeHelper(0x171, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4242.         fLeft, fTop, fWidth, fHeight, iCombineMode);
  4243.     return result;
  4244. }
  4245.  
  4246. short CLead::SetRgnRoundRect(float fLeft, float fTop, float fWidth, float fHeight, float fWidthEllipse, float fHeightEllipse, short iCombineMode)
  4247. {
  4248.     short result;
  4249.     static BYTE parms[] =
  4250.         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_I2;
  4251.     InvokeHelper(0x172, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4252.         fLeft, fTop, fWidth, fHeight, fWidthEllipse, fHeightEllipse, iCombineMode);
  4253.     return result;
  4254. }
  4255.  
  4256. BOOL CLead::IsPtInFloater(float fx, float fy)
  4257. {
  4258.     BOOL result;
  4259.     static BYTE parms[] =
  4260.         VTS_R4 VTS_R4;
  4261.     InvokeHelper(0x173, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  4262.         fx, fy);
  4263.     return result;
  4264. }
  4265.  
  4266. long CLead::GetFloaterHandle()
  4267. {
  4268.     long result;
  4269.     InvokeHelper(0x174, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  4270.     return result;
  4271. }
  4272.  
  4273. short CLead::SetFloaterDstRect(float fLeft, float fTop, float fWidth, float fHeight)
  4274. {
  4275.     short result;
  4276.     static BYTE parms[] =
  4277.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  4278.     InvokeHelper(0x175, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4279.         fLeft, fTop, fWidth, fHeight);
  4280.     return result;
  4281. }
  4282.  
  4283. short CLead::SetFloaterDstClipRect(float fLeft, float fTop, float fWidth, float fHeight)
  4284. {
  4285.     short result;
  4286.     static BYTE parms[] =
  4287.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  4288.     InvokeHelper(0x176, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4289.         fLeft, fTop, fWidth, fHeight);
  4290.     return result;
  4291. }
  4292.  
  4293. short CLead::SetRgnPolygon(short iFillMode, short iCombineMode)
  4294. {
  4295.     short result;
  4296.     static BYTE parms[] =
  4297.         VTS_I2 VTS_I2;
  4298.     InvokeHelper(0x177, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4299.         iFillMode, iCombineMode);
  4300.     return result;
  4301. }
  4302.  
  4303. short CLead::RepaintRect(float fLeft, float fTop, float fWidth, float fHeight, BOOL bErase)
  4304. {
  4305.     short result;
  4306.     static BYTE parms[] =
  4307.         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_BOOL;
  4308.     InvokeHelper(0x178, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4309.         fLeft, fTop, fWidth, fHeight, bErase);
  4310.     return result;
  4311. }
  4312.  
  4313. short CLead::AnnSetTag(long hObject, long iTag)
  4314. {
  4315.     short result;
  4316.     static BYTE parms[] =
  4317.         VTS_I4 VTS_I4;
  4318.     InvokeHelper(0x179, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4319.         hObject, iTag);
  4320.     return result;
  4321. }
  4322.  
  4323. long CLead::AnnGetTag(long hObject)
  4324. {
  4325.     long result;
  4326.     static BYTE parms[] =
  4327.         VTS_I4;
  4328.     InvokeHelper(0x17a, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  4329.         hObject);
  4330.     return result;
  4331. }
  4332.  
  4333. short CLead::AnnGetType(long hObject)
  4334. {
  4335.     short result;
  4336.     static BYTE parms[] =
  4337.         VTS_I4;
  4338.     InvokeHelper(0x17b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4339.         hObject);
  4340.     return result;
  4341. }
  4342.  
  4343. short CLead::AnnSave(LPCTSTR pszFile, short iFormat, BOOL fSelected)
  4344. {
  4345.     short result;
  4346.     static BYTE parms[] =
  4347.         VTS_BSTR VTS_I2 VTS_BOOL;
  4348.     InvokeHelper(0x17c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4349.         pszFile, iFormat, fSelected);
  4350.     return result;
  4351. }
  4352.  
  4353. short CLead::AnnLoad(LPCTSTR pszFile, short iPage)
  4354. {
  4355.     short result;
  4356.     static BYTE parms[] =
  4357.         VTS_BSTR VTS_I2;
  4358.     InvokeHelper(0x17d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4359.         pszFile, iPage);
  4360.     return result;
  4361. }
  4362.  
  4363. short CLead::AnnCopy(short iFormat, BOOL fSelected, BOOL fEmpty)
  4364. {
  4365.     short result;
  4366.     static BYTE parms[] =
  4367.         VTS_I2 VTS_BOOL VTS_BOOL;
  4368.     InvokeHelper(0x17e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4369.         iFormat, fSelected, fEmpty);
  4370.     return result;
  4371. }
  4372.  
  4373. short CLead::AnnPaste()
  4374. {
  4375.     short result;
  4376.     InvokeHelper(0x17f, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4377.     return result;
  4378. }
  4379.  
  4380. short CLead::AnnRealize(BOOL fRedactOnly)
  4381. {
  4382.     short result;
  4383.     static BYTE parms[] =
  4384.         VTS_BOOL;
  4385.     InvokeHelper(0x180, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4386.         fRedactOnly);
  4387.     return result;
  4388. }
  4389.  
  4390. short CLead::AnnFlip(BOOL bUseHorz, float fHorz, BOOL bSelected)
  4391. {
  4392.     short result;
  4393.     static BYTE parms[] =
  4394.         VTS_BOOL VTS_R4 VTS_BOOL;
  4395.     InvokeHelper(0x181, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4396.         bUseHorz, fHorz, bSelected);
  4397.     return result;
  4398. }
  4399.  
  4400. short CLead::AnnReverse(BOOL bUseVert, float fVert, BOOL bSelected)
  4401. {
  4402.     short result;
  4403.     static BYTE parms[] =
  4404.         VTS_BOOL VTS_R4 VTS_BOOL;
  4405.     InvokeHelper(0x182, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4406.         bUseVert, fVert, bSelected);
  4407.     return result;
  4408. }
  4409.  
  4410. short CLead::AnnRotate(BOOL bUseCenter, float fCenterX, float fCenterY, float fAngle, BOOL bSelected)
  4411. {
  4412.     short result;
  4413.     static BYTE parms[] =
  4414.         VTS_BOOL VTS_R4 VTS_R4 VTS_R4 VTS_BOOL;
  4415.     InvokeHelper(0x183, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4416.         bUseCenter, fCenterX, fCenterY, fAngle, bSelected);
  4417.     return result;
  4418. }
  4419.  
  4420. short CLead::AnnSetAutoText(short iItem, LPCTSTR pszText)
  4421. {
  4422.     short result;
  4423.     static BYTE parms[] =
  4424.         VTS_I2 VTS_BSTR;
  4425.     InvokeHelper(0x184, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4426.         iItem, pszText);
  4427.     return result;
  4428. }
  4429.  
  4430. CString CLead::AnnGetAutoText(short iItem)
  4431. {
  4432.     CString result;
  4433.     static BYTE parms[] =
  4434.         VTS_I2;
  4435.     InvokeHelper(0x185, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
  4436.         iItem);
  4437.     return result;
  4438. }
  4439.  
  4440. short CLead::ColorResList(short iBitsPerPixel, short iPalette, short iDither, short iColors)
  4441. {
  4442.     short result;
  4443.     static BYTE parms[] =
  4444.         VTS_I2 VTS_I2 VTS_I2 VTS_I2;
  4445.     InvokeHelper(0x186, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4446.         iBitsPerPixel, iPalette, iDither, iColors);
  4447.     return result;
  4448. }
  4449.  
  4450. long CLead::GetColorCount()
  4451. {
  4452.     long result;
  4453.     InvokeHelper(0x187, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  4454.     return result;
  4455. }
  4456.  
  4457. short CLead::InsertBitmapListItem(short iIndex, long hBitmap)
  4458. {
  4459.     short result;
  4460.     static BYTE parms[] =
  4461.         VTS_I2 VTS_I4;
  4462.     InvokeHelper(0x188, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4463.         iIndex, hBitmap);
  4464.     return result;
  4465. }
  4466.  
  4467. short CLead::EnumDimensions(LPCTSTR pszFile)
  4468. {
  4469.     short result;
  4470.     static BYTE parms[] =
  4471.         VTS_BSTR;
  4472.     InvokeHelper(0x189, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4473.         pszFile);
  4474.     return result;
  4475. }
  4476.  
  4477. short CLead::SetDimension(short iFormat, float fWidth, float fHeight)
  4478. {
  4479.     short result;
  4480.     static BYTE parms[] =
  4481.         VTS_I2 VTS_R4 VTS_R4;
  4482.     InvokeHelper(0x18a, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4483.         iFormat, fWidth, fHeight);
  4484.     return result;
  4485. }
  4486.  
  4487. short CLead::GetDimension(short iFormat)
  4488. {
  4489.     short result;
  4490.     static BYTE parms[] =
  4491.         VTS_I2;
  4492.     InvokeHelper(0x18b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4493.         iFormat);
  4494.     return result;
  4495. }
  4496.  
  4497. short CLead::GetServerBitmap(long pServer)
  4498. {
  4499.     short result;
  4500.     static BYTE parms[] =
  4501.         VTS_I4;
  4502.     InvokeHelper(0x18c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4503.         pServer);
  4504.     return result;
  4505. }
  4506.  
  4507. short CLead::SetServerBitmap(long pServer)
  4508. {
  4509.     short result;
  4510.     static BYTE parms[] =
  4511.         VTS_I4;
  4512.     InvokeHelper(0x18d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4513.         pServer);
  4514.     return result;
  4515. }
  4516.  
  4517. short CLead::DeleteBitmapListItems(short iIndex, short iCount)
  4518. {
  4519.     short result;
  4520.     static BYTE parms[] =
  4521.         VTS_I2 VTS_I2;
  4522.     InvokeHelper(0x18e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4523.         iIndex, iCount);
  4524.     return result;
  4525. }
  4526.  
  4527. short CLead::AnnLoadMemory(long hMem, long iSize)
  4528. {
  4529.     short result;
  4530.     static BYTE parms[] =
  4531.         VTS_I4 VTS_I4;
  4532.     InvokeHelper(0x18f, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4533.         hMem, iSize);
  4534.     return result;
  4535. }
  4536.  
  4537. short CLead::AnnSaveMemory(long* phMem, short iFormat, BOOL bSelected, long* piSize)
  4538. {
  4539.     short result;
  4540.     static BYTE parms[] =
  4541.         VTS_PI4 VTS_I2 VTS_BOOL VTS_PI4;
  4542.     InvokeHelper(0x190, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4543.         phMem, iFormat, bSelected, piSize);
  4544.     return result;
  4545. }
  4546.  
  4547. short CLead::DrawEllipse(float fLeft, float fTop, float fWidth, float fHeight)
  4548. {
  4549.     short result;
  4550.     static BYTE parms[] =
  4551.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  4552.     InvokeHelper(0x191, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4553.         fLeft, fTop, fWidth, fHeight);
  4554.     return result;
  4555. }
  4556.  
  4557. short CLead::DrawRectangle(float fLeft, float fTop, float fWidth, float fHeight)
  4558. {
  4559.     short result;
  4560.     static BYTE parms[] =
  4561.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  4562.     InvokeHelper(0x192, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4563.         fLeft, fTop, fWidth, fHeight);
  4564.     return result;
  4565. }
  4566.  
  4567. short CLead::DrawLine(float fX1, float fY1, float fX2, float fY2)
  4568. {
  4569.     short result;
  4570.     static BYTE parms[] =
  4571.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  4572.     InvokeHelper(0x193, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4573.         fX1, fY1, fX2, fY2);
  4574.     return result;
  4575. }
  4576.  
  4577. short CLead::DrawTextOut(float fx, float fy, LPCTSTR pszText)
  4578. {
  4579.     short result;
  4580.     static BYTE parms[] =
  4581.         VTS_R4 VTS_R4 VTS_BSTR;
  4582.     InvokeHelper(0x194, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4583.         fx, fy, pszText);
  4584.     return result;
  4585. }
  4586.  
  4587. float CLead::DrawTextWidth(LPCTSTR pszText)
  4588. {
  4589.     float result;
  4590.     static BYTE parms[] =
  4591.         VTS_BSTR;
  4592.     InvokeHelper(0x195, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
  4593.         pszText);
  4594.     return result;
  4595. }
  4596.  
  4597. float CLead::DrawTextHeight(LPCTSTR pszText)
  4598. {
  4599.     float result;
  4600.     static BYTE parms[] =
  4601.         VTS_BSTR;
  4602.     InvokeHelper(0x196, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
  4603.         pszText);
  4604.     return result;
  4605. }
  4606.  
  4607. short CLead::ZoomToRect(float fLeft, float fTop, float fWidth, float fHeight)
  4608. {
  4609.     short result;
  4610.     static BYTE parms[] =
  4611.         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
  4612.     InvokeHelper(0x197, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4613.         fLeft, fTop, fWidth, fHeight);
  4614.     return result;
  4615. }
  4616.  
  4617. short CLead::Solarize(short iThreshold)
  4618. {
  4619.     short result;
  4620.     static BYTE parms[] =
  4621.         VTS_I2;
  4622.     InvokeHelper(0x198, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4623.         iThreshold);
  4624.     return result;
  4625. }
  4626.  
  4627. short CLead::AutoTrim(short iThreshold)
  4628. {
  4629.     short result;
  4630.     static BYTE parms[] =
  4631.         VTS_I2;
  4632.     InvokeHelper(0x199, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4633.         iThreshold);
  4634.     return result;
  4635. }
  4636.  
  4637. short CLead::MinFilter(short iDim)
  4638. {
  4639.     short result;
  4640.     static BYTE parms[] =
  4641.         VTS_I2;
  4642.     InvokeHelper(0x19a, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4643.         iDim);
  4644.     return result;
  4645. }
  4646.  
  4647. short CLead::MaxFilter(short iDim)
  4648. {
  4649.     short result;
  4650.     static BYTE parms[] =
  4651.         VTS_I2;
  4652.     InvokeHelper(0x19b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4653.         iDim);
  4654.     return result;
  4655. }
  4656.  
  4657. short CLead::Oilify(short iDim)
  4658. {
  4659.     short result;
  4660.     static BYTE parms[] =
  4661.         VTS_I2;
  4662.     InvokeHelper(0x19c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4663.         iDim);
  4664.     return result;
  4665. }
  4666.  
  4667. VARIANT CLead::ReadComment(LPCTSTR pszFile, short iPage, short iIndex)
  4668. {
  4669.     VARIANT result;
  4670.     static BYTE parms[] =
  4671.         VTS_BSTR VTS_I2 VTS_I2;
  4672.     InvokeHelper(0x19d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
  4673.         pszFile, iPage, iIndex);
  4674.     return result;
  4675. }
  4676.  
  4677. long CLead::AnnGetPointCount(long hObject)
  4678. {
  4679.     long result;
  4680.     static BYTE parms[] =
  4681.         VTS_I4;
  4682.     InvokeHelper(0x19e, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  4683.         hObject);
  4684.     return result;
  4685. }
  4686.  
  4687. VARIANT CLead::AnnGetPointX(long hObject)
  4688. {
  4689.     VARIANT result;
  4690.     static BYTE parms[] =
  4691.         VTS_I4;
  4692.     InvokeHelper(0x19f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
  4693.         hObject);
  4694.     return result;
  4695. }
  4696.  
  4697. VARIANT CLead::AnnGetPointY(long hObject)
  4698. {
  4699.     VARIANT result;
  4700.     static BYTE parms[] =
  4701.         VTS_I4;
  4702.     InvokeHelper(0x1a0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
  4703.         hObject);
  4704.     return result;
  4705. }
  4706.  
  4707. short CLead::AnnGetSelectCount()
  4708. {
  4709.     short result;
  4710.     InvokeHelper(0x1a1, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4711.     return result;
  4712. }
  4713.  
  4714. VARIANT CLead::AnnGetSelectList()
  4715. {
  4716.     VARIANT result;
  4717.     InvokeHelper(0x1a2, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
  4718.     return result;
  4719. }
  4720.  
  4721. short CLead::FastRotate(short iAngle)
  4722. {
  4723.     short result;
  4724.     static BYTE parms[] =
  4725.         VTS_I2;
  4726.     InvokeHelper(0x1a3, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4727.         iAngle);
  4728.     return result;
  4729. }
  4730.  
  4731. short CLead::AnnMove(float dxOffset, float dyOffset, BOOL bSelected)
  4732. {
  4733.     short result;
  4734.     static BYTE parms[] =
  4735.         VTS_R4 VTS_R4 VTS_BOOL;
  4736.     InvokeHelper(0x1a4, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4737.         dxOffset, dyOffset, bSelected);
  4738.     return result;
  4739. }
  4740.  
  4741. short CLead::DrawShape(short uShape, long BackgroundImage)
  4742. {
  4743.     short result;
  4744.     static BYTE parms[] =
  4745.         VTS_I2 VTS_I4;
  4746.     InvokeHelper(0x1a5, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4747.         uShape, BackgroundImage);
  4748.     return result;
  4749. }
  4750.  
  4751. short CLead::DrawText(LPCTSTR szText, long ForegroundImage)
  4752. {
  4753.     short result;
  4754.     static BYTE parms[] =
  4755.         VTS_BSTR VTS_I4;
  4756.     InvokeHelper(0x1a6, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4757.         szText, ForegroundImage);
  4758.     return result;
  4759. }
  4760.  
  4761. short CLead::WindowLevel()
  4762. {
  4763.     short result;
  4764.     InvokeHelper(0x1a7, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4765.     return result;
  4766. }
  4767.  
  4768. short CLead::GetMinMaxVal()
  4769. {
  4770.     short result;
  4771.     InvokeHelper(0x1a8, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4772.     return result;
  4773. }
  4774.  
  4775. short CLead::GetMinMaxBits()
  4776. {
  4777.     short result;
  4778.     InvokeHelper(0x1a9, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4779.     return result;
  4780. }
  4781.  
  4782. short CLead::AnnLock(long hObject, LPCTSTR pszKey, BOOL fSelected)
  4783. {
  4784.     short result;
  4785.     static BYTE parms[] =
  4786.         VTS_I4 VTS_BSTR VTS_BOOL;
  4787.     InvokeHelper(0x1aa, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4788.         hObject, pszKey, fSelected);
  4789.     return result;
  4790. }
  4791.  
  4792. short CLead::AnnUnlock(long hObject, LPCTSTR pszKey)
  4793. {
  4794.     short result;
  4795.     static BYTE parms[] =
  4796.         VTS_I4 VTS_BSTR;
  4797.     InvokeHelper(0x1ab, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4798.         hObject, pszKey);
  4799.     return result;
  4800. }
  4801.  
  4802. BOOL CLead::AnnGetLocked(long hObject)
  4803. {
  4804.     BOOL result;
  4805.     static BYTE parms[] =
  4806.         VTS_I4;
  4807.     InvokeHelper(0x1ac, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  4808.         hObject);
  4809.     return result;
  4810. }
  4811.  
  4812. short CLead::AnnUnrealize(long hObject, BOOL fSelected)
  4813. {
  4814.     short result;
  4815.     static BYTE parms[] =
  4816.         VTS_I4 VTS_BOOL;
  4817.     InvokeHelper(0x1ad, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4818.         hObject, fSelected);
  4819.     return result;
  4820. }
  4821.  
  4822. short CLead::AnnSaveTag(BOOL fWangMode, BOOL fSelected)
  4823. {
  4824.     short result;
  4825.     static BYTE parms[] =
  4826.         VTS_BOOL VTS_BOOL;
  4827.     InvokeHelper(0x1ae, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4828.         fWangMode, fSelected);
  4829.     return result;
  4830. }
  4831.  
  4832. short CLead::AnnSetHyperlinkString(long hObject, short uType, LPCTSTR pszHyperlink)
  4833. {
  4834.     short result;
  4835.     static BYTE parms[] =
  4836.         VTS_I4 VTS_I2 VTS_BSTR;
  4837.     InvokeHelper(0x1af, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4838.         hObject, uType, pszHyperlink);
  4839.     return result;
  4840. }
  4841.  
  4842. short CLead::AnnSetHyperlinkMsg(long hObject, short uType, long lParam1, long lParam2, long lParam3, long lParam4, long lParam5)
  4843. {
  4844.     short result;
  4845.     static BYTE parms[] =
  4846.         VTS_I4 VTS_I2 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4;
  4847.     InvokeHelper(0x1b0, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4848.         hObject, uType, lParam1, lParam2, lParam3, lParam4, lParam5);
  4849.     return result;
  4850. }
  4851.  
  4852. short CLead::AnnGetHyperlinkType(long hObject)
  4853. {
  4854.     short result;
  4855.     static BYTE parms[] =
  4856.         VTS_I4;
  4857.     InvokeHelper(0x1b1, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4858.         hObject);
  4859.     return result;
  4860. }
  4861.  
  4862. CString CLead::AnnGetHyperlinkString(long hObject)
  4863. {
  4864.     CString result;
  4865.     static BYTE parms[] =
  4866.         VTS_I4;
  4867.     InvokeHelper(0x1b2, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
  4868.         hObject);
  4869.     return result;
  4870. }
  4871.  
  4872. long CLead::AnnGetHyperlinkParam(long hObject, short iParamIndex)
  4873. {
  4874.     long result;
  4875.     static BYTE parms[] =
  4876.         VTS_I4 VTS_I2;
  4877.     InvokeHelper(0x1b3, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  4878.         hObject, iParamIndex);
  4879.     return result;
  4880. }
  4881.  
  4882. short CLead::PreLoadFilters(short iFixedFilters, short iCachedFilters, LPCTSTR pszFilters)
  4883. {
  4884.     short result;
  4885.     static BYTE parms[] =
  4886.         VTS_I2 VTS_I2 VTS_BSTR;
  4887.     InvokeHelper(0x1b4, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4888.         iFixedFilters, iCachedFilters, pszFilters);
  4889.     return result;
  4890. }
  4891.  
  4892. short CLead::IgnoreFilters(LPCTSTR pszFilters)
  4893. {
  4894.     short result;
  4895.     static BYTE parms[] =
  4896.         VTS_BSTR;
  4897.     InvokeHelper(0x1b5, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4898.         pszFilters);
  4899.     return result;
  4900. }
  4901.  
  4902. short CLead::ZoomIn()
  4903. {
  4904.     short result;
  4905.     InvokeHelper(0x1b6, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
  4906.     return result;
  4907. }
  4908.  
  4909. short CLead::TwainCloseSession(long hWnd)
  4910. {
  4911.     short result;
  4912.     static BYTE parms[] =
  4913.         VTS_I4;
  4914.     InvokeHelper(0x1b7, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4915.         hWnd);
  4916.     return result;
  4917. }
  4918.  
  4919. short CLead::ShowPanWin(BOOL bShow)
  4920. {
  4921.     short result;
  4922.     static BYTE parms[] =
  4923.         VTS_BOOL;
  4924.     InvokeHelper(0x1b8, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4925.         bShow);
  4926.     return result;
  4927. }
  4928.  
  4929. short CLead::DeletePage(LPCTSTR pszName, short iPage)
  4930. {
  4931.     short result;
  4932.     static BYTE parms[] =
  4933.         VTS_BSTR VTS_I2;
  4934.     InvokeHelper(0x1b9, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4935.         pszName, iPage);
  4936.     return result;
  4937. }
  4938.  
  4939. short CLead::Picturize(LPCTSTR pszDirectory, short iFlags, float fCellWidth, float fCellHeight)
  4940. {
  4941.     short result;
  4942.     static BYTE parms[] =
  4943.         VTS_BSTR VTS_I2 VTS_R4 VTS_R4;
  4944.     InvokeHelper(0x1ba, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
  4945.         pszDirectory, iFlags, fCellWidth, fCellHeight);
  4946.     return result;
  4947. }
  4948.  
  4949. unsigned long CLead::GetBitmapPalette(short iIndex)
  4950. {
  4951.     unsigned long result;
  4952.     static BYTE parms[] =
  4953.         VTS_I2;
  4954.     InvokeHelper(0x1bb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  4955.         iIndex);
  4956.     return result;
  4957. }
  4958.  
  4959. void CLead::SetBitmapPalette(short iIndex, unsigned long newValue)
  4960. {
  4961.     static BYTE parms[] =
  4962.         VTS_I2 VTS_I4;
  4963.     InvokeHelper(0x1bb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  4964.          iIndex, newValue);
  4965. }
  4966.  
  4967. short CLead::GetRemapTable(short iIndex)
  4968. {
  4969.     short result;
  4970.     static BYTE parms[] =
  4971.         VTS_I2;
  4972.     InvokeHelper(0x1bc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
  4973.         iIndex);
  4974.     return result;
  4975. }
  4976.  
  4977. void CLead::SetRemapTable(short iIndex, short nNewValue)
  4978. {
  4979.     static BYTE parms[] =
  4980.         VTS_I2 VTS_I2;
  4981.     InvokeHelper(0x1bc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  4982.          iIndex, nNewValue);
  4983. }
  4984.  
  4985. long CLead::GetHistogramTable(short iIndex)
  4986. {
  4987.     long result;
  4988.     static BYTE parms[] =
  4989.         VTS_I2;
  4990.     InvokeHelper(0x1bd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  4991.         iIndex);
  4992.     return result;
  4993. }
  4994.  
  4995. void CLead::SetHistogramTable(short iIndex, long nNewValue)
  4996. {
  4997.     static BYTE parms[] =
  4998.         VTS_I2 VTS_I4;
  4999.     InvokeHelper(0x1bd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5000.          iIndex, nNewValue);
  5001. }
  5002.  
  5003. unsigned long CLead::GetUserPalette(short iIndex)
  5004. {
  5005.     unsigned long result;
  5006.     static BYTE parms[] =
  5007.         VTS_I2;
  5008.     InvokeHelper(0x1be, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  5009.         iIndex);
  5010.     return result;
  5011. }
  5012.  
  5013. void CLead::SetUserPalette(short iIndex, unsigned long newValue)
  5014. {
  5015.     static BYTE parms[] =
  5016.         VTS_I2 VTS_I4;
  5017.     InvokeHelper(0x1be, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5018.          iIndex, newValue);
  5019. }
  5020.  
  5021. long CLead::GetColorPlanes(short iIndex)
  5022. {
  5023.     long result;
  5024.     static BYTE parms[] =
  5025.         VTS_I2;
  5026.     InvokeHelper(0x1bf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  5027.         iIndex);
  5028.     return result;
  5029. }
  5030.  
  5031. void CLead::SetColorPlanes(short iIndex, long nNewValue)
  5032. {
  5033.     static BYTE parms[] =
  5034.         VTS_I2 VTS_I4;
  5035.     InvokeHelper(0x1bf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5036.          iIndex, nNewValue);
  5037. }
  5038.  
  5039. BOOL CLead::GetInfoPCDRes(short iIndex)
  5040. {
  5041.     BOOL result;
  5042.     static BYTE parms[] =
  5043.         VTS_I2;
  5044.     InvokeHelper(0x1c0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
  5045.         iIndex);
  5046.     return result;
  5047. }
  5048.  
  5049. CString CLead::GetTwainSourceList(short iIndex)
  5050. {
  5051.     CString result;
  5052.     static BYTE parms[] =
  5053.         VTS_I2;
  5054.     InvokeHelper(0x1c1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
  5055.         iIndex);
  5056.     return result;
  5057. }
  5058.  
  5059. float CLead::GetPolygonX(short iIndex)
  5060. {
  5061.     float result;
  5062.     static BYTE parms[] =
  5063.         VTS_I2;
  5064.     InvokeHelper(0x1c2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
  5065.         iIndex);
  5066.     return result;
  5067. }
  5068.  
  5069. void CLead::SetPolygonX(short iIndex, float newValue)
  5070. {
  5071.     static BYTE parms[] =
  5072.         VTS_I2 VTS_R4;
  5073.     InvokeHelper(0x1c2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5074.          iIndex, newValue);
  5075. }
  5076.  
  5077. float CLead::GetPolygonY(short iIndex)
  5078. {
  5079.     float result;
  5080.     static BYTE parms[] =
  5081.         VTS_I2;
  5082.     InvokeHelper(0x1c3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
  5083.         iIndex);
  5084.     return result;
  5085. }
  5086.  
  5087. void CLead::SetPolygonY(short iIndex, float newValue)
  5088. {
  5089.     static BYTE parms[] =
  5090.         VTS_I2 VTS_R4;
  5091.     InvokeHelper(0x1c3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5092.          iIndex, newValue);
  5093. }
  5094.  
  5095. unsigned long CLead::GetAnimationPalette(short iIndex)
  5096. {
  5097.     unsigned long result;
  5098.     static BYTE parms[] =
  5099.         VTS_I2;
  5100.     InvokeHelper(0x1c4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  5101.         iIndex);
  5102.     return result;
  5103. }
  5104.  
  5105. void CLead::SetAnimationPalette(short iIndex, unsigned long newValue)
  5106. {
  5107.     static BYTE parms[] =
  5108.         VTS_I2 VTS_I4;
  5109.     InvokeHelper(0x1c4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5110.          iIndex, newValue);
  5111. }
  5112.  
  5113. float CLead::GetDimensionWidth(short iIndex)
  5114. {
  5115.     float result;
  5116.     static BYTE parms[] =
  5117.         VTS_I2;
  5118.     InvokeHelper(0x1c5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
  5119.         iIndex);
  5120.     return result;
  5121. }
  5122.  
  5123. float CLead::GetDimensionHeight(short iIndex)
  5124. {
  5125.     float result;
  5126.     static BYTE parms[] =
  5127.         VTS_I2;
  5128.     InvokeHelper(0x1c6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
  5129.         iIndex);
  5130.     return result;
  5131. }
  5132.  
  5133. VARIANT CLead::GetComment(short iIndex)
  5134. {
  5135.     VARIANT result;
  5136.     static BYTE parms[] =
  5137.         VTS_I2;
  5138.     InvokeHelper(0x1c7, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
  5139.         iIndex);
  5140.     return result;
  5141. }
  5142.  
  5143. void CLead::SetComment(short iIndex, const VARIANT& newValue)
  5144. {
  5145.     static BYTE parms[] =
  5146.         VTS_I2 VTS_VARIANT;
  5147.     InvokeHelper(0x1c7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5148.          iIndex, &newValue);
  5149. }
  5150.  
  5151. unsigned long CLead::GetPixel(float x, float y)
  5152. {
  5153.     unsigned long result;
  5154.     static BYTE parms[] =
  5155.         VTS_R4 VTS_R4;
  5156.     InvokeHelper(0x1c8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  5157.         x, y);
  5158.     return result;
  5159. }
  5160.  
  5161. void CLead::SetPixel(float x, float y, unsigned long newValue)
  5162. {
  5163.     static BYTE parms[] =
  5164.         VTS_R4 VTS_R4 VTS_I4;
  5165.     InvokeHelper(0x1c8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5166.          x, y, newValue);
  5167. }
  5168.  
  5169. unsigned long CLead::GetLevelLUT(long iIndex)
  5170. {
  5171.     unsigned long result;
  5172.     static BYTE parms[] =
  5173.         VTS_I4;
  5174.     InvokeHelper(0x1c9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  5175.         iIndex);
  5176.     return result;
  5177. }
  5178.  
  5179. void CLead::SetLevelLUT(long iIndex, unsigned long newValue)
  5180. {
  5181.     static BYTE parms[] =
  5182.         VTS_I4 VTS_I4;
  5183.     InvokeHelper(0x1c9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  5184.          iIndex, newValue);
  5185. }
  5186.