mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

LogFileXhtml.AddNewStyle Method (String, String)



[NOT YET FULLY IMPLEMENTED]

Create a new style for this log file.


Namespace: SobekCM.Tools.Logs
Assembly: SobekCM_Tools (in SobekCM_Tools.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public bool AddNewStyle(
	string StyleName,
	string FontColor
)

Parameters

StyleName
Type: System..::..String
Name for this style
FontColor
Type: System..::..String
Color for text of this style

Return Value

Type: Boolean
TRUE if this style was successfully added, otherwise FALSE

Remarks

This style will be used in the Style Definition section and will be used in the body of the text below. Any custom styles will need to be specified when the line is added to the log file. When a style is added to the XHTML Log file, a new LogFileXhtmlStyle object is created and added to a collection of style objects.

The following colors are accepted:
  • Aqua
  • Lime
  • Black
  • Blue
  • Fuchsia
  • Green
  • Gray
  • Maroon
  • Navy
  • Olive
  • Purple
  • Red
  • Silver
  • Teal
  • Yellow

Examples

To see examples, look at the examples listed under the main LogFileXhtml class.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )