SVGStyleElementBuilder.Media
SVGStyleElementBuilder.Media method
Sets the ‘media’ attribute of the SVG ‘style’ element. This attribute specifies the media for which the styles are intended, allowing the styles to be conditional on the media type.
public SVGStyleElementBuilder Media(string mediaDescriptors)
Parameter | Type | Description |
---|---|---|
mediaDescriptors | String | The media descriptor string (e.g., “screen”, “print”). |
Return Value
The SVGStyleElementBuilder instance for chaining.
See Also
- class SVGStyleElementBuilder
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG