System::Drawing::Graphics::FromImage method

Graphics::FromImage method

Creates a new Graphics object from the specified image.

static SharedPtr<Graphics> System::Drawing::Graphics::FromImage(const SharedPtr<Image> &image)
ParameterTypeDescription
imageconst SharedPtr<Image>&An Image object from which a Graphics object should be created

ReturnValue

The created Graphics object

See Also