width = System.Math.Min(pixels.Width, 200) ' Limit the width to 200 height = System.Math.Min(pixels.Height, 200) ' Limit the height to 200 For x = 1 To width - 1 ' Loop over the pixels in the image ...
' In this example, Sunday is a work day and Saturday is a day off. dateTimeScaleOptions.WorkdaysOptions.Workdays = Weekday.Sunday Or Weekday.Monday Or Weekday.Tuesday Or Weekday.Wednesday Or ...