initial commit
[rofl0r-KOL.git] / main_tmetafile.htm
blob5cb76b0749362f133c70fc14d694c85f6acb9c25
1 <html>
2 <head>
3 <title>KOL Help: TMetafile object (main frame)</title>
4 <base target="_top">
5 </head>
7 <body bgcolor="#FFFFEF" text="#000000" link="#008080" vlink="#008000" alink="#808000">
8 <p><font face="Courier" color="#800080"><b>TMetafile( unit <a href=kol_pas.htm>KOL.pas</a> )
9 <font face="Wingdings">ï</font> <a href=tobj.htm>TObj</a>
10 <font face="Wingdings">ï</font> <a href=_tobj.htm>_TObj</a>
11 </b></font></p>
12 <p><b>
13 TMetafile = object( <a href=tobj.htm target="_top">TObj</a> )
14 </b></p>
15 Object type to incapsulate metafile image.
16 <h3 align="center"><font color="#FF8080">TMetafile properties</font></h3>
17 <a name="handle"></a>
18 <p>
19 <font face="Courier" color="#800080"><b>property</b> <font color="#808000"><b>Handle</b></font>: THandle;</font>
20 <br>
21 Returns handle of enchanced metafile.
22 </p>
23 <a name="width"></a>
24 <p>
25 <font face="Courier" color="#800080"><b>property</b> <font color="#808000"><b>Width</b></font>: <b>Integer</b>;</font>
26 &nbsp;&nbsp;&nbsp;<font face="Webdings" size=7>&#209;</font>&nbsp;&nbsp;&nbsp;
27 <br>
28 Native width of the metafile.
29 </p>
30 <a name="height"></a>
31 <p>
32 <font face="Courier" color="#800080"><b>property</b> <font color="#808000"><b>Height</b></font>: <b>Integer</b>;</font>
33 &nbsp;&nbsp;&nbsp;<font face="Webdings" size=7>&#209;</font>&nbsp;&nbsp;&nbsp;
34 <br>
35 Native height of the metafile.
36 </p>
37 <h4 align="center"><font color="black">Properties, inherited from <a href="tobj.htm" target="_top">TObj</a></font></h4>
38 <h3 align="center"><font color="#FF8080">TMetafile methods</font></h3>
39 <a name="destroy"></a>
40 <p>
41 <font face="Courier" color="#800080"><b>destructor</b> <font color="#808000"><b>Destroy</b></font>; <b>virtual</b>;</font>
42 <br>
43 </p>
44 <a name="clear"></a>
45 <p>
46 <font face="Courier" color="#800080"><b>procedure</b> <font color="#808000"><b>Clear</b></font>;</font>
47 <br>
48 </p>
49 <a name="empty"></a>
50 <p>
51 <font face="Courier" color="#800080"><b>function</b> <font color="#808000"><b>Empty</b></font>: <b>Boolean</b>;</font>
52 <br>
53 Returns TRUE if empty
54 </p>
55 <a name="loadfromstream"></a>
56 <p>
57 <font face="Courier" color="#800080"><b>function</b> <font color="#808000"><b>LoadFromStream</b></font>( Strm: PStream ): <b>Boolean</b>;</font>
58 <br>
59 Loads emf or wmf file format from stream.
60 </p>
61 <a name="loadfromfile"></a>
62 <p>
63 <font face="Courier" color="#800080"><b>function</b> <font color="#808000"><b>LoadFromFile</b></font>( <b>const</b> Filename: <b>String</b> ): <b>Boolean</b>;</font>
64 <br>
65 Loads emf or wmf from stream.
66 </p>
67 <a name="draw"></a>
68 <p>
69 <font face="Courier" color="#800080"><b>procedure</b> <font color="#808000"><b>Draw</b></font>( DC: HDC; X, Y: <b>Integer</b> );</font>
70 <br>
71 Draws enchanced metafile on DC.
72 </p>
73 <a name="stretchdraw"></a>
74 <p>
75 <font face="Courier" color="#800080"><b>procedure</b> <font color="#808000"><b>StretchDraw</b></font>( DC: HDC; <b>const</b> R: TRect );</font>
76 <br>
77 Draws enchanced metafile stretched.
78 </p>
79 <h4 align="center"><font color="black">Methods, inherited from <a href="tobj.htm" target="_top">TObj</a></font></h4>
80 <h3 align="center"><font color="#FF8080">TMetafile events</font></h3>
81 <h4 align="center"><font color="black">Events, inherited from <a href="tobj.htm" target="_top">TObj</a></font></h4>
82 <h3 align="center"><font color="#FF8080">TMetafile fields</font></h3>
83 <h4 align="center"><font color="black">Fields, inherited from <a href="tobj.htm" target="_top">TObj</a></font></h4>
84 <hr>
85 <p align="center">[&nbsp;<a href=index.htm>Index</a>&nbsp;]</p>
86 <p align="center"><font face="Comic Sans MS"><small>This help is generated 22-Sep-2005 by KOL Help generator, (C) 2000-2001 by Vladimir Kladov<br>Modified (C) 2003 by Alexander Bartov</small></font></p>
87 </body>
88 </html>