This commit is contained in:
2024-05-06 13:38:52 +02:00
parent 8a9bdc2fcd
commit ae4032ea59
39 changed files with 8034 additions and 9053 deletions

View File

@@ -68,6 +68,9 @@ Public Class ClassBackgroundHelper
End Function
Private Sub GenerateBackgroundImage()
If IsNothing(_originalImage) Then
Exit Sub
End If
Try
Dim gvInfo As GridViewInfo = TryCast(_grid.GetViewInfo(), GridViewInfo)
Dim _processedImage As New Bitmap(gvInfo.ViewRects.Client.Width + 1, gvInfo.ViewRects.Client.Height + 1)
@@ -81,7 +84,7 @@ Public Class ClassBackgroundHelper
Catch ex As Exception
LOGGER.Warn("Unexpected Error in GenerateBackgroundImage: " & ex.Message)
End Try
End Sub
Private Function CalculateImageLocation(imageWidth As Integer, imageHeight As Integer, gvInfo As GridViewInfo, alignment As ContentAlignment) As Point