|
Forum Statistics |
Total user: 89 Total message: 179
|
|
|
|
|
|
|
Center Justify a Document Header
|
|
Date: 2008/04/07 17:59
|
By: Kenneth Minear
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Boarder  | Posts: 1 |   | |
|
This should be simple but it is eluding me; I want to center my document header, could anyone give me a clue on how to do this? Sample code:
Imports System Imports System.IO Imports AODL.Document.Content.Tables Imports AODL.Document.Content.Text Imports AODL.Document.TextDocuments Imports AODL.Document.Styles
Public Class cODTTable
#Region " AddHeader " Public Sub AddHeader(ByRef Doc As TextDocument, _ ByRef HeaderText As String)
Dim header As Header = New Header(Doc, Headings.Heading_20_4) Dim textCol As ITextCollection = TextBuilder.BuildTextCollection(Doc, HeaderText)
header.TextContent = textCol
Doc.Content.Add(header)
End Sub #End Region
End Class
Thanks for any response, I just started using the AODL libraries,,, Kenn (obviously this is VB.Net code)...
|
|
|
The administrator has disabled public write access. |
|
|
|
|
Who's Online |
|
We have 29 guests online |
|