ISVGPropertyResolvingContext.TryGetHrefAsByteArray
ISVGPropertyResolvingContext.TryGetHrefAsByteArray method
Tries to get the HREF as a byte array, with the specified size, format, and cancellation token.
public bool TryGetHrefAsByteArray(Url href, Size size, out byte[] data, out WebImageFormat format,
CancellationToken cancellationToken)
Parameter | Type | Description |
---|---|---|
href | Url | The URL representing the HREF. |
size | Size | The desired size of the image. |
data | Byte[]& | The resulting byte array of the image data. |
format | WebImageFormat& | The resulting WebImageFormat of the image. |
cancellationToken | CancellationToken | The cancellation token. |
Return Value
true
if the operation was successful; otherwise, false
.
See Also
- class Url
- class Size
- enum WebImageFormat
- interface ISVGPropertyResolvingContext
- namespace Aspose.Svg.Rendering.Styles
- assembly Aspose.SVG