PowerTools SPREAD for Windows Forms 10.0J
BackgroundImageLayout プロパティ (SheetView)


シートビューの背景画像レイアウトを取得または設定します。
構文
'Declaration
 
Public Property BackgroundImageLayout As SheetView.ImageLayout
'使用法
 
Dim instance As SheetView
Dim value As SheetView.ImageLayout
 
instance.BackgroundImageLayout = value
 
value = instance.BackgroundImageLayout
public SheetView.ImageLayout BackgroundImageLayout {get; set;}
次のサンプルコードは、背景画像を表示します。
fpSpread1.Sheets[0].BackgroundImage = Image.FromFile("C:\\Program Files (x86)\\ComponentOne\\image.png");
fpSpread1.Sheets[0].BackgroundImageLayout = FarPoint.Win.Spread.SheetView.ImageLayout.Tile;
fpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.Transparent;
FpSpread1.Sheets(0).BackgroundImage = Image.FromFile("C:\Program Files (x86)\ComponentOne\image.png")
FpSpread1.Sheets(0).BackgroundImageLayout = FarPoint.Win.Spread.SheetView.ImageLayout.Tile
FpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.Transparent
参照

SheetView クラス
SheetView メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.