GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > AddPicture Method : AddPicture(String,Uri,Double,Double,Double,Double) Method |
'Declaration Public Overloads Function AddPicture( _ ByVal name As String, _ ByVal source As Uri, _ ByVal x As Double, _ ByVal y As Double, _ ByVal width As Double, _ ByVal height As Double _ ) As Picture
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