ConceptHMI Web Help
GetAttributeImage Method
The type of the assembly in which to look for the image.
If true, look for ConceptLargeImage attribute, else ConceptSmallImage attribute.
Gets the image declared in the ConceptSmallImage attribute or ConceptLargeImage attribute.
Syntax
public static BitmapImage GetAttributeImage( 
   Type type,
   bool large
)

Parameters

type
The type of the assembly in which to look for the image.
large
If true, look for ConceptLargeImage attribute, else ConceptSmallImage attribute.

Return Value

A BitmapImage containing the image mentionned in the attribute. Can be null if the image is not found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ConceptModelWpfUtils Class
ConceptModelWpfUtils Members

 

 


© 2016 Objectis

Send Feedback