Discover the GradientStopCollection Count property, which provides the total number of items, enhancing your data management and UI design efficiency....Document doc = new Document (); DocumentBuilder builder = new DocumentBuilder...Transparency = 0.25 ; // Add new gradient stop to the end of collection...