1 Welcome to RTF2PDF
2 wPDFControl Documentation
2.1 Introduction wPDFControl
2.1.1 License
2.2 wPDFControl/RTFtoPDF Demo
2.3 wPDFControl .NET
2.3.1 Quick Start
2.3.2 PDFControl
2.3.3 PDFPropDlg
2.3.4 Properties
2.3.4.1 PDF Options
2.3.4.2 Extra Options
2.3.4.3 Security (COPY)
2.3.4.4 PDF Info
2.3.4.5 PDFAMode
2.3.4.6 CidFonts
2.3.5 RTF2PDF V2.x
2.3.5.1 RTF2PDF Version 2 API
2.3.5.2 Example
2.3.6 Methods
2.3.6.1 Initialisation
2.3.6.2 DrawWatermark
2.3.6.3 Image Output
2.3.6.4 Hyperlinks
2.3.6.5 Bookmarks
2.3.6.6 Outlines
2.3.6.7 using "Graphics Canvas"
2.3.6.8 Mailmerge (COPY)
2.3.7 Events
2.4 wPDFControl DLL / ActiveX
3 Tasks
3.1 RTF2PDF in ASP.NET
3.2 ASP TransferHelper
3.3 Categories in the programmers reference
3.4 Load & Save
3.5 Mailmerge
3.5.1 Create Merge Fields
3.5.2 Highlight/HideFields
3.6 HTML/E-MAIL loading and saving
3.6.1 Technical Information
3.6.2 Create HTML
3.6.3 Format Options
3.6.4 Create and send Emails
3.6.5 Create MIME encoded e-mail data
3.7 Create Text using code
3.8 Create a page header with page numbers
3.9 Format C# Code
4 Rtf2Pdf
4.1 Interfaces Overview
4.2 ASP.NET Example
4.3 ASP.NET Live Demos
4.4 Properties
4.4.1 Report
4.4.2 Memo
4.4.3 Memo2
4.4.4 PDFCreator
4.4.5 ResultBuffer
4.4.6 AttrHelper
4.5 Methods
4.5.1 BeginDoc
4.5.2 EndDoc
4.5.3 Print
4.5.4 PrintSecond
4.5.5 StartEngine
4.5.6 StopEngine
4.6 wPDFControl Methods and Properties
4.6.1 Properties
4.6.1.1 bool AutoLaunch
4.6.1.2 Graphics Canvas
4.6.1.3 int CidFonts
4.6.1.4 string DebugPath
4.6.1.5 bool DefaultLandscape
4.6.1.6 ePage DefaultSize
4.6.1.7 eEncoding Encoding
4.6.1.8 string FileName
4.6.1.9 FontManager Font
4.6.1.10 eFontMode FontMode
4.6.1.11 string InfoAuthor, InfoKeywords etc.
4.6.1.12 eInputFileMode InputFileMode
4.6.1.13 eJPEGCompressMode JPEGCompressMode
4.6.1.14 string MergeFieldStart
4.6.1.15 string OwnerPassword
4.6.1.16 ePageMode PageMode
4.6.1.17 int PDFAMode
4.6.1.18 ePDFEncryption PDFEncryption
4.6.1.19 eDevMode PDFMode
4.6.1.20 ePDFOptions PDFOptions
4.6.1.21 ePDFSecurity PDFSecurity
4.6.1.22 string UserPassword
4.6.2 Methods
5 API Reference
5.1 Events
5.1.1 RTF2PDF / TextDynamic
5.1.1.1 OnAfterSaveImage
5.1.1.2 OnBeforeSaveImage
5.1.1.3 OnClear
5.1.1.4 OnCreateNewCell
5.1.1.5 OnEnumDataBlocks
5.1.1.6 OnEnumParOrStyle
5.1.1.7 OnEnumTextObj
5.1.1.8 OnError
5.1.1.9 OnFieldGetText
5.1.1.10 OnGetSpecialText
5.1.1.11 OnInitializePar
5.1.1.12 OnLoadExtImage
5.1.1.13 OnLoadExtString
5.1.1.14 OnLoadText
5.1.1.15 OnMeasurePage
5.1.1.16 OnNotify
5.1.1.17 OnPaintWatermark
5.1.1.18 OnReadFormulaVar
5.1.1.19 OnReportState
5.1.1.20 OnTextObjectGetText
5.1.2 Exclusive to TextDynamic
5.1.2.1 OnKeyDown
5.1.2.2 OnKeyPress
5.1.2.3 OnKeyUp
5.1.2.4 OnLeaveEditor
5.1.2.5 OnCompleteWord
5.1.2.6 OnEnterEditor
5.2 Categories
5.2.1 Character Attributes Category
5.2.2 Character Styles Category
5.2.3 Document Properties Category
5.2.4 Callback Functions Category
5.2.5 Hader and Footer Support Category
5.2.6 Hyperlinks and Bookmarks Category
5.2.7 Image Support Category
5.2.8 Load and Save Category
5.2.9 Logical MDI Support Category
5.2.10 Mailmerge Category
5.2.11 Position Markers Category
5.2.12 Lowlevel Paragraph IDs Category
5.2.13 Paragraphstyle Support Category
5.2.14 Table Support Category
5.2.15 TextDynamic CSS strings Category
5.3 IWPMemo / IWPEditor
5.3.1 Properties
5.3.1.1 ActiveText
5.3.1.2 CurrAttr
5.3.1.3 TextAttr
5.3.1.4 CurrBand
5.3.1.5 CurrentZooming
5.3.1.6 CurrGroup
5.3.1.7 CurrObj
5.3.1.8 CurrPar
5.3.1.9 CurrParAttr
5.3.1.10 CurrSelAttr
5.3.1.11 CurrSelObj
5.3.1.12 CurrStyle
5.3.1.13 CurrStyleAttr
5.3.1.14 LabelDef
5.3.1.15 LastFileName
5.3.1.16 PageSize
5.3.1.17 PageSizeList
5.3.1.18 PrintParameter
5.3.1.19 SelText
5.3.1.20 Text
5.3.1.21 TextCursor
5.3.1.22 SpecialTextAttr
5.3.2 Methods
5.3.2.1 AppendOtherText
5.3.2.2 BlockAdd
5.3.2.3 BlockAppend
5.3.2.4 BlockFind
5.3.2.5 Clear
5.3.2.6 CopyToClipboard
5.3.2.7 CutToClipboard
5.3.2.8 DebugShowParProps
5.3.2.9 DeleteLeadingSpace
5.3.2.10 DeletePage
5.3.2.11 DeleteParWithCondition
5.3.2.12 DeleteStyle
5.3.2.13 DeleteTrailingSpaces
5.3.2.14 EnumDataBlocks
5.3.2.15 EnumParagraphs
5.3.2.16 EnumParSiblings
5.3.2.17 EnumParStyles
5.3.2.18 EnumSelParagraphs
5.3.2.19 EnumTextObj
5.3.2.20 FindFooter
5.3.2.21 FindHeader
5.3.2.22 GetNumberStyle
5.3.2.23 GetObjAtXY
5.3.2.24 GetPageAsMetafile
5.3.2.25 GetPosAtXY
5.3.2.26 GetRTFVariable
5.3.2.27 GetXY
5.3.2.28 LoadFromFile
5.3.2.29 LoadFromStream
5.3.2.30 LoadFromString
5.3.2.31 LoadFromVar
5.3.2.32 MergeText
5.3.2.33 PasteFromClipboard
5.3.2.34 Print
5.3.2.35 PrintPages
5.3.2.36 PtrCommand
5.3.2.37 Reformat
5.3.2.38 ReformatAll
5.3.2.39 RTFDataAdd
5.3.2.40 RTFDataAppendTo
5.3.2.41 RTFDataDelete
5.3.2.42 RTFDataSelect
5.3.2.43 SavePageAsMetafile
5.3.2.44 SaveToFile
5.3.2.45 SaveToStream
5.3.2.46 SaveToString
5.3.2.47 SaveToVar
5.3.2.48 SelectStyle
5.3.2.49 SetBProp
5.3.2.50 SetIProp
5.3.2.51 SetRTFVariable
5.3.2.52 Statistic
5.3.2.53 Tables_WidthFixed
5.3.2.54 Tables_WidthPC
5.3.2.55 TextCommand
5.3.2.56 TextCommandStr
5.3.2.57 SelectFirstParGlobal
5.4 IWPTextCursor
5.4.1 Properties
5.4.1.1 CPCellPtr
5.4.1.2 CPLineNr
5.4.1.3 CPObjPtr
5.4.1.4 CPPageLineNr
5.4.1.5 CPPageNr
5.4.1.6 CPParNr
5.4.1.7 CPParPtr
5.4.1.8 CPPosInLine
5.4.1.9 CPPosInPar
5.4.1.10 CPPosition
5.4.1.11 CPRowPtr
5.4.1.12 CPStylePtr
5.4.1.13 CPTableColNr
5.4.1.14 CPTablePtr
5.4.1.15 CPTableRowNr
5.4.1.16 IsSelected
5.4.1.17 PageCount
5.4.2 Methods
5.4.2.1 IWPTextCursor.AddTable
5.4.2.2 IWPTextCursor.AppendRow
5.4.2.3 IWPTextCursor.CheckState
5.4.2.4 IWPTextCursor.Clear
5.4.2.5 IWPTextCursor.CombineCellHorz
5.4.2.6 IWPTextCursor.CombineCellVert
5.4.2.7 IWPTextCursor.CPMoveAfterTable
5.4.2.8 IWPTextCursor.CPMoveBack
5.4.2.9 IWPTextCursor.CPMoveBeforeTable
5.4.2.10 IWPTextCursor.CPMoveNext
5.4.2.11 IWPTextCursor.CPMoveNextBand
5.4.2.12 IWPTextCursor.CPMoveNextCell
5.4.2.13 IWPTextCursor.CPMoveNextGroup
5.4.2.14 IWPTextCursor.CPMoveNextObject
5.4.2.15 IWPTextCursor.CPMoveNextPar
5.4.2.16 IWPTextCursor.CPMoveNextRow
5.4.2.17 IWPTextCursor.CPMoveNextTable
5.4.2.18 IWPTextCursor.CPMoveParentTable
5.4.2.19 IWPTextCursor.CPMovePrevCell
5.4.2.20 IWPTextCursor.CPMovePrevObject
5.4.2.21 IWPTextCursor.CPMovePrevPar
5.4.2.22 IWPTextCursor.CPMovePrevRow
5.4.2.23 IWPTextCursor.CPMovePrevTable
5.4.2.24 IWPTextCursor.CPMoveToGroup
5.4.2.25 IWPTextCursor.CPOpenObj
5.4.2.26 IWPTextCursor.Delete
5.4.2.27 IWPTextCursor.DisableProtection
5.4.2.28 IWPTextCursor.DisableUndo
5.4.2.29 IWPTextCursor.EnabledProtection
5.4.2.30 IWPTextCursor.EnableUndo
5.4.2.31 IWPTextCursor.FieldsFromTokens
5.4.2.32 IWPTextCursor.FindText
5.4.2.33 IWPTextCursor.GetParName
5.4.2.34 IWPTextCursor.GotoBody
5.4.2.35 IWPTextCursor.GotoEnd
5.4.2.36 IWPTextCursor.GotoStart
5.4.2.37 IWPTextCursor.HideSelection
5.4.2.38 IWPTextCursor.InputBookmark
5.4.2.39 IWPTextCursor.InputCalculatedField
5.4.2.40 IWPTextCursor.InputCell
5.4.2.41 IWPTextCursor.InputCustomHTML
5.4.2.42 IWPTextCursor.InputEmbeddedData
5.4.2.43 IWPTextCursor.InputField
5.4.2.44 IWPTextCursor.InputFieldObject
5.4.2.45 IWPTextCursor.InputFooter
5.4.2.46 IWPTextCursor.InputFootnote
5.4.2.47 IWPTextCursor.InputHeader
5.4.2.48 IWPTextCursor.InputHTML
5.4.2.49 IWPTextCursor.InputHyperlink
5.4.2.50 IWPTextCursor.InputImage
5.4.2.51 IWPTextCursor.InputObject
5.4.2.52 IWPTextCursor.InputPagebreak
5.4.2.53 IWPTextCursor.InputParagraph
5.4.2.54 IWPTextCursor.InputPicture
5.4.2.55 IWPTextCursor.InputPictureStream
5.4.2.56 IWPTextCursor.InputRowEnd
5.4.2.57 IWPTextCursor.InputRowStart
5.4.2.58 IWPTextCursor.InputSection
5.4.2.59 IWPTextCursor.InputString
5.4.2.60 IWPTextCursor.InputTable
5.4.2.61 IWPTextCursor.InputTabstop
5.4.2.62 IWPTextCursor.InputText
5.4.2.63 IWPTextCursor.InputTextbox
5.4.2.64 IWPTextCursor.InsertRow
5.4.2.65 IWPTextCursor.MarkerCollect
5.4.2.66 IWPTextCursor.MarkerCollectAll
5.4.2.67 IWPTextCursor.MarkerCPPosition
5.4.2.68 IWPTextCursor.MarkerDrop
5.4.2.69 IWPTextCursor.MarkerGoto
5.4.2.70 IWPTextCursor.MarkerSelect
5.4.2.71 IWPTextCursor.MovePosition
5.4.2.72 IWPTextCursor.MoveToBookmark
5.4.2.73 IWPTextCursor.MoveToField
5.4.2.74 IWPTextCursor.MoveToObject
5.4.2.75 IWPTextCursor.MoveToTable
5.4.2.76 IWPTextCursor.Redo
5.4.2.77 IWPTextCursor.ReplaceText
5.4.2.78 IWPTextCursor.ReportConvertTable
5.4.2.79 IWPTextCursor.ReportConvertText
5.4.2.80 IWPTextCursor.ReportInputBand
5.4.2.81 IWPTextCursor.ReportInputGroup
5.4.2.82 IWPTextCursor.ScrollToCP
5.4.2.83 IWPTextCursor.SelectAll
5.4.2.84 IWPTextCursor.SelectLine
5.4.2.85 IWPTextCursor.SelectParagraph
5.4.2.86 IWPTextCursor.SelectTable
5.4.2.87 IWPTextCursor.SelectTableColumn
5.4.2.88 IWPTextCursor.SelectTableRow
5.4.2.89 IWPTextCursor.SelectText
5.4.2.90 IWPTextCursor.SetColWidth
5.4.2.91 IWPTextCursor.SetParName
5.4.2.92 IWPTextCursor.SetRowHeight
5.4.2.93 IWPTextCursor.SetTableLeftRight
5.4.2.94 IWPTextCursor.TableClear
5.4.2.95 IWPTextCursor.TableDelete
5.4.2.96 IWPTextCursor.Undo