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

 All Forums
 Print Preview
 Help file
 ConvertToTwip - Function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: Copies - Property Topic Next Topic: ConvertFromTwip - Function  


327 Posts

Posted - 07/14/2005 :  16:10:45  Show Profile
Function ConvertToTwip


This function converts various units into measurements in twips.


ConvertToTwip (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 the specified units into twips.


    To convert 300 millimeters into twips:

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

    ConvertFromTwip -->

    Come and visit :

    Edited by - emiel on 07/29/2005 10:36:40
    Go to Bottom of Page
      Previous Topic: Copies - Property Topic Next Topic: ConvertFromTwip - 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