The CreateMetafile attribute function creates a new metafile.
Syntax | ||||
CreateMetafile(Width, Height, Unit [, Description][, LanguageID]) | ||||
Return value | ||||
None | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Width |
Long |
ByVal |
Width |
Required |
Height |
Long |
ByVal |
Height |
Required |
Unit |
MetaFrameUnits |
ByVal |
System of units |
Optional |
Description |
String |
ByVal |
Image description |
Optional |
LanguageID |
String |
ByVal |
Language-ID of the picture to be used. |
MetaFrameUnits |
Description |
2 – MetafileFrameUnitPixel |
Dimensions are Pixel units |
3 – MetafileFrameUnitPoint |
Dimensions are Point units |
4 – MetafileFrameUnitInch |
Dimensions are Inch units |
1 – MetafileFrameUnitDocument |
Dimensions are Document units |
1 – MetafileFrameUnitMillimeter |
Dimensions are Millimeter units |
1 – MetafileFrameUnitGDI |
Dimensions are GDI units (Tenth of Millimeter) |