The browser will determine the bullet style." ItemsBulletedList.BulletImageUrl = "Images/image1.jpg" ' Specify the path to the custom image to use for the bullet. ItemsBulletedList.BulletStyle = BulletStyle.CustomImage ItemsBulletedList.BulletStyle = BulletStyle.Square ItemsBulletedList.BulletStyle = BulletStyle.Circle ItemsBulletedList.BulletStyle = BulletStyle.Disc ItemsBulletedList.BulletStyle = BulletStyle.UpperRoman ItemsBulletedList.BulletStyle = BulletStyle.LowerRoman ItemsBulletedList.BulletStyle = BulletStyle.UpperAlpha ItemsBulletedList.BulletStyle = BulletStyle.LowerAlpha ItemsBulletedList.BulletStyle = BulletStyle.Numbered Select Case (BulletStylesListBox.SelectedIndex) Message.Text = "You selected bullet style: " & If BulletStylesListBox.SelectedIndex > -1 Then Sub Index_Changed(ByVal sender As Object, ByVal e As System.EventArgs) Throw new Exception("You did not select a valid bullet style.") Specify the path to the custom image to use for the bullet. Switch (BulletStylesListBox.SelectedIndex) Change the bullet style used, based on Message.Text = "You selected bullet style: " + If (BulletStylesListBox.SelectedIndex > -1) Change the message displayed, based on Protected void Index_Changed(object sender, EventArgs e) The bullet style changes based on the style that the user selects from the list box. A ListBox control is populated with all the available BulletStyle enumeration values. The following code example demonstrates how to create a BulletedList control. Thanks to HelpNDoc’s very powerful API and script editor, you will be able to quickly and easily achieve things which are impossible with any other Help Authoring Tools: Automate help and documentation generation, export topic identifiers, simplify time-consuming tasks… the possibilities are endless! So take a look at HelpNDoc’s huge list of available API methods and start automating your help, documentation and eBook writing now.The specified type is not one of the BulletStyle values. Getting help | Gettinghelp | 5 HelpNDoc’s API will help you save time System requirements | Systemrequirements | 4 This way, you won’t have to do the developer’s job and the developer won’t need to have to access the help file’s structure. You can now send that file to your developers so that they can wire the application or web-site with the help file you are currently writing. Create the file aList.SaveToFile(OUTPUT_FILE) īy running this script, HelpNDoc will generate a file located at “c:\tmp\topics.txt” (this can be customized in the script above) with a list of all the topics available in the current project. Get next topic aTopicId := HndTopics.GetTopicNext(aTopicId) Add the topic to the list aList.Add(Format( '%s | %s | %d ', [ Loop through all topics while aTopicId '' do begin Try // Get first topic aTopicId := HndTopics.GetTopicFirst() Init list aList := TStringList.Create ĪList.Add( 'Topic Caption | Help ID | Help Context ') ĪList.Add( '- ') Var // List of output aList: TStringList Var // Current topic ID aTopicId: string We will use it to create a file with a list of topic identifiers.Ĭonst // Define the output file OUTPUT_FILE = 'c: \tmp \topics.txt ' HelpNDoc includes a very powerful API which can be used from the Script Editor to maintain and automate your projects. Thanks to HelpNDoc’s very powerful script editor, you can easily do that! Use HelpNDoc’s API to automate that job But as a technical writer, you probably won’t be in charge of “wiring” that application or web-site with the help file and you’d rather send a list of topic identifiers to the developers in charge. This makes it possible to reach a specific topic from your software application or web-site. For that purpose, Help Authoring Tools such as HelpNDoc provide two unique identifiers for each topic: an alpha-numeric Help ID and a numeric Help Context number. Once you’ve written your help file or documentation web-site, you’d usually like to be able to integrate it with your existing products: when users are having difficulties performing an action, they should be able to launch the help file and be presented with the correct associated topic explaining that specific action.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |