Share via


ImageHelper Class

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.Diagrams.ImageHelper

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

Syntax

'Declaration
Public NotInheritable Class ImageHelper
public static class ImageHelper
public ref class ImageHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type ImageHelper =  class end
public final class ImageHelper

The ImageHelper type exposes the following members.

Methods

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

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace