Make IdManager property public for SvgDocument
See original GitHub issueDescription
Make IdManager
property public for SvgDocument
:
https://github.com/vvvv/SVG/blob/816af8f7ab3b2ffd41913a2c464db8d9b69a5d38/Source/SvgDocument.cs#L90
Example data
You can not get ReferencedElement
for SvgUse
object. This is limiting usage and custom rendering.
https://github.com/vvvv/SVG/blob/816af8f7ab3b2ffd41913a2c464db8d9b69a5d38/Source/Document Structure/SvgUse.cs#L28
Used Versions
master branch
Issue Analytics
- State:
- Created 4 years ago
- Comments:20 (15 by maintainers)
Top Results From Across the Web
Class SvgDocument | SVG.NET API
Initializes a new instance of the SvgDocument class. Declaration. public SvgDocument(). Properties.
Read more >SVG/Source/SvgElement.cs at master
USE_SOURCE_GENERATORS //optimization protected class PropertyAttributeTuple { public PropertyDescriptor Property; public SvgAttributeAttribute Attribute; } ...
Read more >C# (CSharp) SvgDocument Examples
public SvgIdManager (SvgDocument doc, ISvgEventCaller caller, RemoteContext remoteContext) : base(doc) { FCaller = caller; RemoteContext = remoteContext; ...
Read more >SvgDocument Class | Leadtools.Svg
Represents a Scalable Vector Graphics (SVG) document. ... The SvgDocument class represents a Scalable Vector Graphics (SVG) object. LEADTOOLS supports versions 1.
Read more >XSLTForms/Print version
An easy error to make is to give the wrong URI when pointing to an external instance (in the src or resource attribute)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am trying to solve this issue by my own right now, when I will find solution or hit another roadblock I will report here.
Its solves the styling issue when rendering
SvgUse
. TheParent
is different for each referenced element fromSvgUse
. Currently this is only accessible internally.This is how svg spces defines processing of
SvgUse
elements. Basically they are converted toSvgGroup
(usually deep copy) and special handling of attributes. This is best solution and according to spec, but its probably huge changes and breaking one. So I prefer to enable access toParent
property setter and solve without braking too much or nothing. Anyway, currently I have solved this by using reflection and setting internal_parent
field.