GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > AddPicture Method : AddPicture(String,Uri,Int32,Double,Int32,Double,Double,Double) Method |
'Declaration Public Overloads Function AddPicture( _ ByVal name As System.String, _ ByVal source As System.Uri, _ ByVal row As System.Integer, _ ByVal rowOffset As System.Double, _ ByVal column As System.Integer, _ ByVal columnOffset As System.Double, _ ByVal width As System.Double, _ ByVal height As System.Double _ ) As Picture
'Usage Dim instance As Worksheet Dim name As System.String Dim source As System.Uri Dim row As System.Integer Dim rowOffset As System.Double Dim column As System.Integer Dim columnOffset As System.Double Dim width As System.Double Dim height As System.Double Dim value As Picture value = instance.AddPicture(name, source, row, rowOffset, column, columnOffset, width, height)
gcSpreadSheet1.Sheets[0].AddPicture("png", new Uri("C:\\artwork\\chartarea.png")); //gcSpreadSheet1.Sheets[0].AddPicture("png", new Uri("C:\\artwork\\chartarea.png"), 0, 0, 300, 200); //gcSpreadSheet1.Sheets[0].AddPicture("png", new Uri("C:\\artwork\\chartarea.png"), 0, 1, 1, 2, 200, 200); //gcSpreadSheet1.Sheets[0].AddPicture("png", new Uri("C:\\artwork\\chartarea.png"), 0, 5, 1, 5, 6, 10, 5, 10);
GcSpreadSheet1.Sheets(0).AddPicture("png", new Uri("C:\artwork\chartarea.png")) 'GcSpreadSheet1.Sheets(0).AddPicture("png", new Uri("C:\artwork\chartarea.png"), 0, 0, 300, 200) 'GcSpreadSheet1.Sheets(0).AddPicture("png", new Uri("C:\artwork\chartarea.png"), 0, 1, 1, 2, 200, 200) 'GcSpreadSheet1.Sheets(0).AddPicture("png", new Uri("C:\artwork\chartarea.png"), 0, 5, 1, 5, 6, 10, 5, 10)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)