Print Preview ActiveX Active Users: 17 / Visits Today: 357
Highest Active Users: 138
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
 ConvertFromTwip - Function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: ConvertToTwip - Function Topic Next Topic: ColorMode - Property  

emiel
Administrator

Belgium
327 Posts

Posted - 07/14/2005 :  16:02:56  Show Profile
Function ConvertFromTwip

Action:

This function converts measurements in twips into various units.

Syntax:

ConvertFromTwip (prScale As ScaleType, sValue As Single) As Single

Parameter   Description                       
  • prScale Scale of measurement to convert
  • vValue Value to be converted
    The prScale parameter can contain the following values:

    Constant       Value   Description
    
  • prTwip 1 Twip
  • prInch 5 Inch
  • prMillimeter 6 Millimeter
  • prCentimeter 7 Centimeter

    Remarks:

    The function returns the vValue converted from twips into the specified units.

    Example:

    To convert 300 twips into millimeters:

    sDimension = Preview.ConvertFromTwip (prMillimeter,300)
    See Also:

    ConvertToTwip --> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=343


    Come and visit :
    www.immoassist.com
    www.ppreview.net
    www.vbdiamond.com
    www.d2dsources.com
    www.mandix.com


    Edited by - emiel on 07/29/2005 10:31:30
    Go to Bottom of Page
      Previous Topic: ConvertToTwip - Function Topic Next Topic: ColorMode - Property  
     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