KGKrithika Ganesan Syncfusion Team October 18, 2022 09:15 AM
for contacting Syncfusion Support.
From the Shared code
snippet, we come to know that as image source, width and height property values
are not assigned. So you are getting null reference exception. Please use the
below code snippet and shared sample to overcome this null reference exception.
image.Width.Equals(Double.NaN) AndAlso image.Height.Equals(Double.NaN) Then
image.Height = image.Source.Height
image.Width = image.Source.Width
Please let us know is you need any clarification, or you have any