Print Preview ActiveX Active Users: 62 / Visits Today: 152
Highest Active Users: 62
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 FrameTop - Function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: KillDoc - Method Topic Next Topic: FrameLeft - Function  

emiel
Administrator

Belgium
327 Posts

Posted - 07/18/2005 :  11:12:37  Show Profile
Function FrameTop

Action:

This function returns the value of the topmargin of the current frame in twips.

Syntax:

FrameTop () As Long

Example:

To retrieve the value of FrameTop:

lTop = Preview.FrameTop

To print some text in the current frame:

Preview.AddTextAt "Any Text" , Preview.FrameLeft+50, Preview.FrameTop+50

To retrieve the bottom value of the current frame:

lBottom = preview.FrameTop + Preview.FrameHeight

See also:

FrameLeft -------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=379
FrameHeight ---> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=381
FrameWidth-----> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=382
CurrentFrame -> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=345

www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com [/font=Tahoma] [/size=2] [/b] [/size=1] [/red]



Edited by - emiel on 07/18/2005 11:33:47
Go to Bottom of Page
  Previous Topic: KillDoc - Method Topic Next Topic: FrameLeft - Function  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02