Print Preview ActiveX Active Users: 80 / Visits Today: 89
Highest Active Users: 80
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
 ModifyStyle - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: DeletePage - Method Topic Next Topic: LineType - Property  

emiel
Administrator

Belgium
327 Posts

Posted - 07/19/2005 :  10:53:43  Show Profile
Method ModifyStyle

Action:

This methode modifies an existing named style.

Syntax:

ModifyStyle (strStyle As String, strProp As String, vNewValue As Variant)
Parameter    Description            
  • strStyle Name of existing style
  • strProp Name of style property
  • vNewValue New value for property
    Remarks:

    strProp must have the following names and values:

    Parameter         Opt/Req   Description                       
    
    
  • FontName Name of font. String
  • FontSize Size of font in points, decimal point allowed. Single
  • FontBold Bold if True. Default = False. Boolean
  • FontUnderline Underline if True. Default = False. Boolean
  • FontItalic Italic if True. Default = False. Boolean
  • ForeColor Default = vbBlack. Dec, Hex, OLE
  • BackColor Default = vbWhite. Dec, Hex, OLE
  • Strikethru Strikethre if True. Default = False
  • Leading Increment, Absolute of Percent. Default Increment. String
  • LeadingVal Value, decimal point allowed. Default 0.0
  • TextRotation Value, decimalpoint allowed. Default 0.0
  • Fillstyle vbConstant or its decimal Value
  • FillColor Default = vbBlack. Dec, Hex, OLE
  • PageSize prConstant or itīs decimal value. Default = 9
  • LineWidth Value. Default = 20
  • LineType prConstant of itīs decimal value. Default = 0
  • LineColor Default = vbBlack. Dec, Hex, OLE
    This method modifies an existing style definition. Only the parameter specified is changed.

    Example:

    Preview.ModifyStyle "StyleName", "FontBold", True
    Preview.ModifyStyle "StyleName", "FontSize", 8.5
    See also:

    ApplyStyle ---> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=399
    GetStyle -------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=385
    GetAllStyles--> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=383
    AddStyle ------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=330
    LineType ------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=428

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


    Edited by - emiel on 07/21/2005 13:37:37
    Go to Bottom of Page
      Previous Topic: DeletePage - Method Topic Next Topic: LineType - Property  
     New Topic  Topic Locked
     Printer Friendly
    Jump To:
    Print Preview ActiveX © Mandix Go To Top Of Page
    This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02