XdsObjects Help file
XdsObjects Namespace / XdsDocumentViewer Class / StyleSheets Property



StyleSheets Property
A set of StyleSheets to use when displaying documents.
Syntax
Public Property StyleSheets As Dictionary(Of String,String)
Dim instance As XdsDocumentViewer
Dim value As Dictionary(Of String,String)
 
instance.StyleSheets = value
 
value = instance.StyleSheets
public Dictionary<string,string> StyleSheets {get; set;}
public:
property Dictionary<String^,String^>^ StyleSheets {
   Dictionary<String^,String^>^ get();
   void set (    Dictionary<String^,String^>^ value);
}
Remarks

Many different types of document in XDS have the MimeType of "text/xml", but may be of very different form, and need different styesheets for appropriate human-readable display. This collection therefore provides a means to identify the required stylesheet filename (the value in the collection) from the FormatCode (the key for the collection)

Note that the values are filenames of the stylesheets, rather than the actual stylesheet content

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