Hello,
is it possible to add additional attributes to the img-tag?
I need to set an id (<IMG id="blabla" ....>)
Best regards
Testo
Search found 15 matches
- Thu Sep 18, 2014 4:29 pm
- Forum: Support
- Topic: Save Image - Add Attributes (ID)
- Replies: 1
- Views: 9414
- Fri Sep 12, 2014 12:40 pm
- Forum: Support
- Topic: RVRuler - Fixed size
- Replies: 3
- Views: 12963
- Fri Sep 12, 2014 11:03 am
- Forum: Support
- Topic: RVRuler - Fixed size
- Replies: 3
- Views: 12963
RVRuler - Fixed size
Hello, I have to develop a input program for iOS. So the size of my TRichView needs to be fixed (only the width). I tried the following code but this doesnt work very well. RVRuler1.LeftMargin:= 3.7; RVRuler1.RightMargin:= 3.7; If I resize the form, the width of the ruler will be resized too. Is ...
- Thu Sep 04, 2014 1:04 pm
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
- Thu Sep 04, 2014 12:12 pm
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
- Wed Sep 03, 2014 1:37 pm
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
So the following code should work, right?
But it does not
Code: Select all
procedure TF_Main.RvHtmlImporter1ImageRequired2(Sender: TObject;
const src: String; Width, Height: Integer; var Img: TGraphic);
begin
Img := DownloadImage(src);
Width:= 300;
Height:= 300;
end;
- Tue Sep 02, 2014 8:22 pm
- Forum: Support
- Topic: Import HTML code without converted special characters
- Replies: 2
- Views: 10947
- Tue Sep 02, 2014 7:54 pm
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
- Tue Sep 02, 2014 12:58 pm
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
OK, that works now pretty good. But what if I want to paste html code including images from the clipboard? Then I need to implement the RvHtmlImporter1ImageRequired2 event. So, thats the actual problem. I can't insert images by myself in this event, beacuse it will do by itself. All I have to do is ...
- Tue Sep 02, 2014 10:59 am
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
- Tue Sep 02, 2014 10:41 am
- Forum: Support
- Topic: Paste image from internet and resize
- Replies: 16
- Views: 47998
Paste image from internet and resize
Hi, is it possible to paste an image from the internet into the RichViewEdit? I'm using RichViewActions and Indy. Afaik I need to do something like this: info:= TRVGraphicItemInfo.CreateEx(Sender.RVData, gr, rvvaMiddle); info.ImageWidth:= 300; info.ImageHeight:= 300; if Sender.Style.Units=rvstuTwips ...
- Mon Sep 01, 2014 1:58 pm
- Forum: Support
- Topic: Import HTML code without converted special characters
- Replies: 2
- Views: 10947
Import HTML code without converted special characters
Hello, I'm using the RVHTMLImporter for importing HTML code. Now, I have the problem that the code I want to import includes non-converted special characters. For example: <p align=center>Test & Test</p> So, if I try to import the above code I will get a ';' at the end of the string (what's totally ...
- Sat Aug 30, 2014 11:25 am
- Forum: Support
- Topic: Set fixed font name - HTML export
- Replies: 3
- Views: 12988
- Sat Aug 30, 2014 11:04 am
- Forum: Support
- Topic: Set fixed font name - HTML export
- Replies: 3
- Views: 12988
Set fixed font name - HTML export
Hello, my project requieres a fixed font face. So all fonts of the exported html code need to be, e.g., Arial (also if the texts are imported from a homepage). The dirty way how I could realize this would be replacing all face='*' attributes of the html code via ReplaceString(). But I'm sure there ...
- Sat Mar 22, 2014 7:50 pm
- Forum: Support
- Topic: Load HTML from String
- Replies: 1
- Views: 9058
Load HTML from String
Hello,
could someone tell me how to fill the RichViewEdit with a string containing html-code?
Thank you!
Best regards
Testo
could someone tell me how to fill the RichViewEdit with a string containing html-code?
Thank you!
Best regards
Testo