Ribbon for WinForms
SaveImage メソッド (Theme)

C1.Win.8 アセンブリ > C1.Framework 名前空間 > Theme クラス : SaveImage メソッド
System.Xml.XmlWriter that contains the theme definition.
Name of the node where the image will be stored.
System.Drawing.Image that will be saved in the stream.
Saves an image into the Xml output stream.
シンタックス
'宣言
 
Protected Overridable Sub SaveImage( _
   ByVal writer As XmlWriter, _
   ByVal propertyName As String, _
   ByVal image As Image _
) 
protected virtual void SaveImage( 
   XmlWriter writer,
   string propertyName,
   Image image
)

パラメータ

writer
System.Xml.XmlWriter that contains the theme definition.
propertyName
Name of the node where the image will be stored.
image
System.Drawing.Image that will be saved in the stream.
解説

The default implementation keeps a list of the images that have been saved. If any images are saved more than once, only the index is stored for the repeated instances.

For example:

SaveImage(writer, "MyImageProperty", img); SaveImage(writer, "MyImagePropertyAgain", img); SaveImage(writer, "MyImagePropertyAndAgain", img); [MyImageProperty]base64data[/MyImageProperty] [MyImagePropertyAgain index="0"/] [MyImagePropertyAndAgain index="0"/]
参照

Theme クラス
Theme メンバ