3 <title>KOL Help: TMetafile object (main frame)
</title>
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>
13 TMetafile = object(
<a href=tobj.htm
target=
"_top">TObj
</a> )
15 Object type to incapsulate metafile image.
16 <h3 align=
"center"><font color=
"#FF8080">TMetafile properties
</font></h3>
19 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Handle
</b></font>: THandle;
</font>
21 Returns handle of enchanced metafile.
25 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Width
</b></font>:
<b>Integer
</b>;
</font>
26 <font face=
"Webdings" size=
7>Ñ</font>
28 Native width of the metafile.
32 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Height
</b></font>:
<b>Integer
</b>;
</font>
33 <font face=
"Webdings" size=
7>Ñ</font>
35 Native height of the metafile.
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>
41 <font face=
"Courier" color=
"#800080"><b>destructor
</b> <font color=
"#808000"><b>Destroy
</b></font>;
<b>virtual
</b>;
</font>
46 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Clear
</b></font>;
</font>
51 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>Empty
</b></font>:
<b>Boolean
</b>;
</font>
55 <a name=
"loadfromstream"></a>
57 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>LoadFromStream
</b></font>( Strm: PStream ):
<b>Boolean
</b>;
</font>
59 Loads emf or wmf file format from stream.
61 <a name=
"loadfromfile"></a>
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>
65 Loads emf or wmf from stream.
69 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Draw
</b></font>( DC: HDC; X, Y:
<b>Integer
</b> );
</font>
71 Draws enchanced metafile on DC.
73 <a name=
"stretchdraw"></a>
75 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>StretchDraw
</b></font>( DC: HDC;
<b>const
</b> R: TRect );
</font>
77 Draws enchanced metafile stretched.
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>
85 <p align=
"center">[
<a href=index.htm
>Index
</a> ]
</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>