Print Preview ActiveX Active Users: 82 / Visits Today: 1632
Highest Active Users: 107
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
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  


327 Posts

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


This function converts measurements in twips into various units.


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


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


    To convert 300 twips into millimeters:

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

    ConvertToTwip -->

    Come and visit :

    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.03 seconds. Powered By: Snitz Forums 2000 Version 3.4.02