API Reference
TopologyIconArtwork
Describes optional external artwork for a topology icon.
Inheritance
- Object
- TopologyIconArtwork
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
Image(System.String arg1, System.String arg2) #Creates image artwork.
Parameters
- arg1 System.String
- arg2 System.String
InlineSvg(System.String arg1, System.String arg2) #Creates inline SVG artwork.
Parameters
- arg1 System.String
- arg2 System.String
IsSafeAssetPath(System.String arg1) #Returns whether an artwork path is safe enough for pack-local file resolution.
Parameters
- arg1 System.String
IsSafeImageHref(System.String arg1) #Returns whether an image href is safe enough for report embedding.
Parameters
- arg1 System.String
IsSafeSvgFragment(System.String arg1) #Returns whether an inline SVG fragment is safe enough for report embedding.
Parameters
- arg1 System.String
SvgFile(System.String arg1, System.String arg2, System.String arg3) #Creates SVG file artwork.
Parameters
- arg1 System.String
- arg2 System.String
- arg3 System.String
WithPreserveAspectRatio(System.String arg1) #Sets the preserveAspectRatio value used when rendering SVG or image artwork.
Parameters
- arg1 System.String
Properties
SvgViewBox #Gets or sets an SVG viewBox used for inline SVG artwork.
SvgBody #Gets or sets trusted inline SVG fragment markup, such as path, rect, circle, and linearGradient elements.
SvgPath #Gets or sets a relative or host-managed path to an SVG file.
PreviewPath #Gets or sets a relative or host-managed path to a generated preview image.
ImageHref #Gets or sets an image href, usually a data URI or host-managed URL.
PreserveAspectRatio #Gets or sets the preserveAspectRatio value used when rendering SVG or image artwork.
HasSvgBody #Gets whether this artwork defines an inline SVG fragment.
HasSvgPath #Gets whether this artwork references an SVG file.
HasPreviewPath #Gets whether this artwork references a preview image.
HasImageHref #Gets whether this artwork defines an image href.
IsSafe #Gets whether inline SVG artwork can be embedded safely.