如何设置TMetafileCanvas的width,height?
我用TMetafileCanvas来实现在TMetafile上面作图。可是好像设置了WMF文件的width和height属性对生成的wmf文件不起作用。
TMetafileCanvas帮助中说:
TMetafileCanvas sets the size of the TMetafile object from the HDC passed as ReferenceDevice if it does not already have the MMHeight and MMWidth properties set.
TMetafileCanvas then creates a metafile device context, and sets the Handle property to its handle. All subsequent drawing methods will draw to the metafile device context.
不是很明白什么意思,那个HDC怎么用?