TRVReportShapeProperties.CustomShapeName

<< Click to display table of contents >>

TRVReportShapeProperties.CustomShapeName

Identifies an SVG image

property CustomShapeName: TRVUnicodeString;

This value is used if Shape =rvrshCustom. It identifies an SVG path used to draw this shape.

When the shape is used inside TRichView document (as a part of value visualizers or as a document item of TRVShapeItemInfo type), SVG paths are defined in TRichView.DocObjects collection, in the object of TRVSVGPathsDocObject type. This object has Paths collection property. Each item in this collection represents one SVG shape, and has Name property. The item having the Name equal to CustomShapeName is used for this shape. If an SVG shape named CustomShapeName is not found, the shape is drawn as a circle. For additional information, see the TRichView help file, the topic about TRVSVGPathsDocObject.

This property is ignored in TRVShape component. In this component, SVG is defined in

Default value

''