Excel for UWP/WinRT
XLPictureShape クラス
メンバ 

XLSheet に埋め込まれた Image を表します。
オブジェクト モデル
XLPictureShape クラス
構文
'宣言
 
Public Class XLPictureShape 
   Inherits XLShape
   Implements ICloneable 
public class XLPictureShape : XLShape, ICloneable  
解説

XLPictureShape は、シートに埋め込まれた画像のプロパティを公開するために、汎用の XLShape クラス から派生されています。これらのプロパティには、 実際の Image と、その表示方法に関する情報 (BrightnessContrast、 クリッピング情報など)が含まれます。

Image オブジェクトを XLCell オブジェクトの Value プロパティに直接割り当てるだけで、セルに画像を追加できます。 この場合、C1XLBookXLPictureShape を自動的に作成して 初期化します。ただし、この方法は、画像の配置、拡大縮小、およびクリッピングに関する 柔軟性をほとんど提供しません。

より柔軟な方法としては、配置と拡大縮小のパラメータを取るコンストラクタを使用して、 コードで XLPictureShape オブジェクトを作成してから、 この XLPictureShape オブジェクトをセルの Value プロパティに割り当てます。

継承階層

System.Object
   C1.Xaml.Excel.XLShape
      C1.Xaml.Excel.XLPictureShape

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

参照

関連項目

XLPictureShape メンバ
C1.Xaml.Excel 名前空間

Send Feedback