AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi SVG-Komponente oder Unit für Delphi
Thema durchsuchen
Ansicht
Themen-Optionen

SVG-Komponente oder Unit für Delphi

Ein Thema von Andreas L. · begonnen am 9. Nov 2019 · letzter Beitrag vom 16. Jul 2023
 
Andreas L.

Registriert seit: 23. Mai 2011
Ort: Furth im Wald
308 Beiträge
 
Delphi 11 Alexandria
 
#9

AW: SVG-Komponente oder Unit für Delphi

  Alt 10. Nov 2019, 10:30
Kann nicht das TPath aus FMX SVG Laden und anzeigen?
In die Data-Property von TPath kann man tatsächlich SVG-XML eintragen. Aber die Komponente behält das XML nicht. Es wird auch nichts angezeigt. Via Code passiert auch nichts:

  Path1.Data.Data := Memo1.Lines.Text; Was mache ich falsch?

EDIT:

In der Online-Hilfe steht das man über diese Property kein XML laden kann.
Zitat:
The Data property supports only a comma-separated list of instructions defined for the d attribute of the path element in SVG 1.0.

In SVG 1.0, the d attribute contains the moveto, line, curve, arc, and closepath instructions. All instructions are expressed as one character (for example, a moveto is expressed as an M).
http://docwiki.embarcadero.com/Libra...cts.TPath.Data

Aber wie soll es dann gehen? Es gibt keine Load, Set, Open, Read, Get oder sonstwas Methode.
Andreas Lauß
Blog

Geändert von Andreas L. (10. Nov 2019 um 10:34 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:12 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz