GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > AddPicture Method : AddPicture(String,Uri,Int32,Double,Int32,Double,Int32,Double,Int32,Double) Method |
'Declaration Public Overloads Function AddPicture( _ ByVal name As String, _ ByVal source As Uri, _ ByVal row As Integer, _ ByVal rowOffset As Double, _ ByVal column As Integer, _ ByVal columnOffset As Double, _ ByVal endRow As Integer, _ ByVal endRowOffset As Double, _ ByVal endColumn As Integer, _ ByVal endColumnOffset As Double _ ) As Picture
'Usage Dim instance As Worksheet Dim name As String Dim source As Uri Dim row As Integer Dim rowOffset As Double Dim column As Integer Dim columnOffset As Double Dim endRow As Integer Dim endRowOffset As Double Dim endColumn As Integer Dim endColumnOffset As Double Dim value As Picture value = instance.AddPicture(name, source, row, rowOffset, column, columnOffset, endRow, endRowOffset, endColumn, endColumnOffset)
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 Server 2012, Windows RT