API:Vcl.Graphics.TMetafileCanvas.Create
Delphi
constructor Create(AMetafile: TMetafile; ReferenceDevice: HDC);
C++
__fastcall TMetafileCanvas(TMetafile* AMetafile, HDC ReferenceDevice);
__fastcall TMetafileCanvas(TMetafile* AMetafile, HDC ReferenceDevice, const System::UnicodeString CreatedBy, const System::UnicodeString Description);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TMetafileCanvas |
Description
Creates an instance of TCanvas.
Vcl.Graphics.TMetafileCanvas.Create inherits from Vcl.Graphics.TCanvas.Create. All content below this line refers to Vcl.Graphics.TCanvas.Create.
Creates an instance of TCanvas.
Call Create to instantiate a TCanvas object at runtime. Create allocates memory for the instance of TCanvas and creates the TFont, TBrush and TPen objects for the Font, Brush, and Pen properties. Create also initializes the CopyMode to cmSrcCopy.
See Also
Code Examples