Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

how to move the written text

More
10 years 1 month ago #10250 by ankur123987
Hi radaeepdf team,
actually i write this question in different thread as i want to move the written text . its different from edittext .
i am using following code for write the text
PageContent content = new PageContent();
content.Create();//create content, do not forget.
content.GSSave();
Matrix mat = new Matrix( 1, 1, 100, 500 );
content.GSSetMatrix(mat);
mat.Destroy();

Page page = m_doc.GetPage(0);

Document.DocFont dfont = m_doc.NewFontCID("DroidSansFallback", 1 | 8);//bold and embed in horizontal writing
ResFont rfont = page.AddResFont(dfont);

content.TextBegin();
content.TextSetFont(rfont, 20);//set font and size
content.SetFillColor(0xff0000);
content.SetStrokeColor(0x10);
content.TextSetCharSpace(0);
content.TextSetWordSpace(0.3f);
content.TextSetLeading(20);
content.TextSetRenderMode(2);//fill and stroke
content.TextSetHScale(120);//set horizontal scale
content.DrawText("RadaeePDF\rTest!");
content.TextEnd();
content.GSRestore();

//add content to page
page.AddContent(content, true);
content.Destroy();

page.Close();

can i move this text at pdf ?
please help
More
10 years 1 month ago #10251 by Davide
Replied by Davide on topic how to move the written text
Hi,
no you can't move this text because with that code you add the text to the pdf content, you can move the text using annotations.
More
10 years 1 month ago - 10 years 1 month ago #10252 by ankur123987
are you talking about edittext annotation. i already pasted my query in different thread. actually i have added date and time at pdf now i want to move at pdf . is there any possiblity that feature would add in upcoming release of sdk or in future.

please help
Last edit: 10 years 1 month ago by ankur123987.
More
10 years 1 month ago #10259 by Davide
Replied by Davide on topic how to move the written text
Hi,
when you add text to pdf a with content, you can place it where you want changing matrix values.

You can't edit or move it because it becomes part of the pdf.
More
9 years 11 months ago #10417 by gregh530
Hello, Quick question regarding moving text.

When I draw a shape with the "Pen" input tool, I am able to move it around to different locations. However, when I use the "text tool" to input text, I should be able to move around in the same way, corrent?
More
9 years 11 months ago #10418 by gregh530
Hello, Quick question regarding moving text.

When I draw a shape with the "Pen" input tool, I am able to move it around to different locations. However, when I use the "text tool" to input text, I should be able to move around in the same way, correct?
Time to create page: 0.432 seconds
Powered by Kunena Forum