XAML

Example to have some XAML graphs displayed in some topics and having them in a vector format the user can see without having to install additional plugins (as needed for SVGs). I guess anybody reading a help file about code using WPF/XAML/Silverlight has it installed already and is able to see it.

function createSilverlightEx(objectId, parentElement, width, height, content)
{

Silverlight.createObjectEx({
  source: 
  "#" + content,         
  parentElement:parentElement,    
  id:objectId,                  
  properties:{                    
  width:width,                
  height:height,              
  version:'1.0'},             
  events:{
    onLoad:null}});             
}