Export (0) Print
Expand All

ImageHelper Class


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

public static class ImageHelper

The ImageHelper type exposes the following members.

Public methodStatic memberGetImage(Byte[])Gets an image from and array of bytes
Public methodStatic memberGetImage(Image)Provided for uniformity
Public methodStatic memberGetImage(Object)Determine the type of image and return it as Image
Public methodStatic memberGetImage(Type, String)Gets an image from a resource
Public methodStatic memberGetImageSizeGets the size of the image in world units.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft