System::Drawing::Graphics::FromImage 方法
Graphics::FromImage method
从指定的图像创建一个新的 Graphics 对象。
static SharedPtr<Graphics> System::Drawing::Graphics::FromImage(const SharedPtr<Image> &image)
| 参数 | 类型 | 描述 |
|---|---|---|
| image | const SharedPtr<Image>& | 一个 Image 对象,用于创建 Graphics 对象 |
ReturnValue
创建的 Graphics 对象
另见
- Typedef SharedPtr
- Class Graphics
- Class Image
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++