YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

set page font and size
Ali
#1 Posted : Sunday, January 08, 2017 8:06:39 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/8/2017(UTC)
Posts: 2
Location: Pakistan

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
local doc=window.GetDocument();
local page=doc.GetPage(0);
page.SetTextColor(Color(255,0,0));
layout.Print({dialog=false, from=0, to=1,duplex=0});
window.Exit(0)

i am using this script to change the color of text iam going to pring
i need a command line to set page font and size also like page.SetTextFont.... and
page.SetTextFontsize....
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.251 seconds.