ImageHelper::GetImage Method (Type^, String^)

 

Gets an image from a resource

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static Image^ GetImage(
	Type^ type,
	String^ resourceName
)

Parameters

type
Type: System::Type^

A type in the assembly to read resource from

resourceName
Type: System::String^

name of the metafile resource

Return Value

Type: System.Drawing::Image^
Return to top
Show: