ComponentOne WPF Edition
Demos
Docs
Samples
Download
ComponentOne Word for WPF
C1.WPF.Word.4.6.2 Assembly
/
C1.WPF.Word Namespace
/
C1WordDocument Class
/ Clear Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: Visual Basic (Declaration)
Language Filter: C#
Visual Basic (Declaration)
C#
In This Topic
Syntax
See Also
Word for WPF Overview
Word for WPF Key Features
Object Model Summary
Quick Start: Word for WPF
Working with Word for WPF
Word for WPF Samples
API Reference
C1.WPF.Word.4.6.2 Assembly
Namespaces
C1.Util Namespace
Overview
Classes
FontShaping
GlyphInfo
Enumerations
GlyphFlags
C1.WPF.Word Namespace
Overview
Classes
C1WordDocument
Overview
Members
C1WordDocument Constructor
C1WordDocument Constructor()
C1WordDocument Constructor(PaperKind)
Methods
Add Method
AddBookmark Method
AddBookmarkEnd Method
AddBookmarkStart Method
AddCanvas Method
AddLink Method
AddLink(String) Method
AddLink(String,IRtfContent) Method
AddListTexts Method
AddParagraph Method
AddParagraph(String) Method
AddParagraph(String,Font) Method
AddParagraph(String,Font,Color) Method
AddParagraph(String,Font,Color,RtfHorizontalAlignment) Method
AddPicture Method
AddPicture(C1Bitmap) Method
AddPicture(C1Bitmap,RtfHorizontalAlignment) Method
AddPicture(C1Bitmap,ShapeWrapType,ZIndexType) Method
AddPicture(WriteableBitmap) Method
AddPicture(WriteableBitmap,RtfHorizontalAlignment) Method
AddPicture(WriteableBitmap,ShapeWrapType,ZIndexType) Method
AddShape Method
Clear Method
ColumnBreak Method
DrawArc Method
DrawBeziers Method
DrawElement Method
DrawElement(FrameworkElement,Rect,ContentAlignment,Stretch) Method
DrawElement(FrameworkElement,Rect,Rect) Method
DrawElement(FrameworkElement,Rect) Method
DrawEllipse Method
DrawEllipse(Pen,Double,Double,Double,Double) Method
DrawEllipse(Pen,Rect) Method
DrawImage Method
DrawImage(C1Bitmap,Rect) Method
DrawImage(WriteableBitmap,Rect,Rect) Method
DrawImage(WriteableBitmap,Rect) Method
DrawImage(C1Bitmap,Rect,Rect) Method
DrawLine Method
DrawLine(Pen,Point,Point) Method
DrawLine(Pen,Double,Double,Double,Double) Method
DrawParagraph Method
DrawPath Method
DrawPie Method
DrawPolygon Method
DrawPolyline Method
DrawRectangle Method
DrawRectangle(Pen,Double,Double,Double,Double) Method
DrawRectangle(Pen,Rect) Method
DrawRectangle(Pen,Rect,Size) Method
DrawString Method
DrawString(String,Rect) Method
DrawString(String,Font,Color,Rect) Method
DrawString(String,Font,Color,Rect,StringFormat) Method
DrawString(TextBlock,Rect,Boolean) Method
FillBeziers Method
FillEllipse Method
FillEllipse(Color,Double,Double,Double,Double) Method
FillEllipse(Color,Rect) Method
FillPath Method
FillPie Method
FillPolygon Method
FillRectangle Method
FillRectangle(Color,Double,Double,Double,Double) Method
FillRectangle(Color,Rect) Method
FillRectangle(Color,Rect,Size) Method
GetParagraph Method
GetParagraph(Font) Method
GetParagraph(String) Method
GetParagraph(String,Font) Method
GetParagraph(String,StringFormat) Method
GetParagraph(String,Font,StringFormat) Method
GetParagraph(String,StringFormat,Single) Method
GetParagraph(String,Font,StringFormat,Single) Method
LineBreak Method
Load Method
LoadFromOpenXml Method
LoadFromOpenXml(String) Method
LoadFromOpenXml(Stream) Method
LoadFromRtf Method
LoadFromText Method
MeasureExpand Method
MeasureFontSize Method
MeasureString Method
MeasureString(String,Font,Double,StringFormat) Method
MeasureString(String,Font,Double) Method
MeasureString(String,Font) Method
Merging Method
Merging(C1WordDocument) Method
Merging(C1WordDocument,IRtfContent) Method
PageBreak Method
ParseRtfText Method
ResetClipRect Method
Save Method
Save(String) Method
Save(Stream,FileFormat) Method
SaveToText Method
SetClipRect Method
SetPageSettings Method
ShapeFillOpacity Method
ShapeHyperlink Method
ShapeRotation Method
ToPixels Method
ToPixels(Double) Method
ToPixels(Size) Method
ToPixels(Rect) Method
ToPoints Method
ToPoints(Double) Method
ToPoints(Size) Method
ToPoints(Rect) Method
ToRtfText Method
Properties
BottomMargin Property
ClientRectangle Property
Count Property
Creator Property
Current Property
CurrentAlignment Property
CurrentCanvas Property
CurrentColor Property
CurrentCulture Property
CurrentFont Property
CurrentPageIndex Property
CurrentPen Property
CurrentSection Property
CurrentShape Property
FitShapesToText Property
Hyperlink Property
Info Property
Landscape Property
LeftIndent Property
LeftMargin Property
ListLevelIndent Property
MainSection Property
PageSize Property
RightIndent Property
RightMargin Property
ShapesWord2007Compatible Property
TopMargin Property
Version Property
Events
DrawingElement Event
RtfPageAdded Event
DrawingElementEventArgs
Font
Pen
RtfPageAddedArgs
RtfPageSize
StringFormat
Enumerations
ContentAlignment
DashStyle
FileFormat
FillMode
ImageFormat
PaperKind
RtfBorderStyle
RtfFontStyle
RtfHorizontalAlignment
RtfListLevelChar
RtfListType
RtfMergeCellType
RtfPatternType
RtfTextFlow
RtfUnderlineStyle
StringFormatFlags
Interfaces
IC1WordInfo
IContent
IDocumentContent
IParagraphContent
Delegates
RtfPageAddedHandler
C1.WPF.Word.Canvas Namespace
Overview
Classes
AccentBorderCallout1Shape
AccentBorderCallout2Shape
AccentBorderCallout3Shape
AccentBorderCallout90Shape
AccentCallout1Shape
AccentCallout2Shape
AccentCallout3Shape
AccentCallout90Shape
ActionButtonBackPreviousShape
ActionButtonBeginningShape
ActionButtonBlankShape
ActionButtonDocumentShape
ActionButtonEndShape
ActionButtonForwardNextShape
ActionButtonHelpShape
ActionButtonHomeShape
ActionButtonInformationShape
ActionButtonMovieShape
ActionButtonReturnShape
ActionButtonSoundShape
ArcShape
ArrowShape
BalloonShape
BentArrowShape
BentConnector2Shape
BentConnector3Shape
BentConnector4Shape
BentConnector5Shape
BentUpArrowShape
BevelShape
BlockArcShape
BorderCallout1Shape
BorderCallout2Shape
BorderCallout3Shape
BorderCallout90Shape
BracePairShape
BracketPairShape
Callout1Shape
Callout2Shape
Callout3Shape
Callout90Shape
CanShape
ChevronShape
CircularArrowShape
CloudCalloutShape
CubeShape
CurvedConnector2Shape
CurvedConnector3Shape
CurvedConnector4Shape
CurvedConnector5Shape
CurvedDownArrowShape
CurvedLeftArrowShape
CurvedRightArrowShape
CurvedUpArrowShape
DiamondShape
DonutShape
DoubleWaveShape
DownArrowCalloutShape
DownArrowShape
DrawingExtrusion
DrawingFill
DrawingShadow
DrawingShape
EllipseRibbon2Shape
EllipseRibbonShape
EllipseShape
FilledShape
FlowChartAlternateProcessShape
FlowChartCollateShape
FlowChartConnectorShape
FlowChartDecisionShape
FlowChartDelayShape
FlowChartDisplayShape
FlowChartDocumentShape
FlowChartExtractShape
FlowChartInputOutputShape
FlowChartInternalStorageShape
FlowChartMagneticDiskShape
FlowChartMagneticDrumShape
FlowChartMagneticTapeShape
FlowChartManualInputShape
FlowChartManualOperationShape
FlowChartMergeShape
FlowChartMultidocumentShape
FlowChartOfflineStorageShape
FlowChartOffpageConnectorShape
FlowChartOnlineStorageShape
FlowChartOrShape
FlowChartPredefinedProcessShape
FlowChartPreparationShape
FlowChartProcessShape
FlowChartPunchedCardShape
FlowChartPunchedTapeShape
FlowChartSortShape
FlowChartSummingJunctionShape
FlowChartTerminatorShape
FoldedCornerShape
HeartShape
HexagonShape
HomePlateShape
HorizontalScrollShape
IrregularSeal1Shape
IrregularSeal2Shape
IsoscelesTriangleShape
LeftArrowCalloutShape
LeftArrowShape
LeftBraceShape
LeftBracketShape
LeftRightArrowCalloutShape
LeftRightArrowShape
LeftRightUpArrowShape
LeftUpArrowShape
LightningBoltShape
LinedShape
LineShape
MoonShape
NoneShape
NoSmokingShape
NotchedCircularArrowShape
NotchedRightArrowShape
OctagonShape
ParallelogramShape
PentagonShape
PictureShape
PlaqueShape
PlusShape
QuadArrowCalloutShape
QuadArrowShape
RectangleShape
Ribbon2Shape
RibbonShape
RightArrowCalloutShape
RightBraceShape
RightBracketShape
RightTriangleShape
RoundRectangleShape
Seal16Shape
Seal24Shape
Seal32Shape
Seal4Shape
Seal8Shape
SealShape
ShapeCollection
SmileyFaceShape
StarShape
StraightConnector1Shape
StripedRightArrowShape
SunShape
TextArchDownCurveShape
TextArchDownPourShape
TextArchUpCurveShape
TextArchUpPourShape
TextBoxShape
TextButtonCurveShape
TextButtonPourShape
TextCanDownShape
TextCanUpShape
TextCascadeDownShape
TextCascadeUpShape
TextChevronInvertedShape
TextChevronShape
TextCircleCurveShape
TextCirclePourShape
TextCurveDownShape
TextCurveShape
TextCurveUpShape
TextDeflateBottomShape
TextDeflateInflateDeflateShape
TextDeflateInflateShape
TextDeflateShape
TextDeflateTopShape
TextFadeDownShape
TextFadeLeftShape
TextFadeRightShape
TextFadeUpShape
TextHexagonShape
TextInflateBottomShape
TextInflateShape
TextInflateTopShape
TextOctagonShape
TextOnCurveShape
TextOnRingShape
TextPlainTextShape
TextRingInsideShape
TextRingOutsideShape
TextRingShape
TextSimpleShape
TextSlantDownShape
TextSlantUpShape
TextStopShape
TextTriangleInvertedShape
TextTriangleShape
TextWave1Shape
TextWave2Shape
TextWave3Shape
TextWave4Shape
TextWaveShape
ThickArrowShape
TrapezoidShape
UnknownShape
UpArrowCalloutShape
UpArrowShape
UpDownArrowCalloutShape
UpDownArrowShape
UturnArrowShape
VerticalScrollShape
WaveShape
WedgeEllipseCalloutShape
WedgeRectCalloutShape
WedgeRRectCalloutShape
Enumerations
FillType
ImageScaling
PictureViewType
ShadowType
ShapeDashedLineStyle
ShapeLineStyle
ShapeWrapType
ZIndexType
Interfaces
IShapeContainer
C1.WPF.Word.Objects Namespace
Overview
Classes
RtfBookmark
RtfBookmarkCollection
RtfBookmarkEnd
RtfBookmarkStart
RtfBorderObject
RtfBreak
RtfCell
RtfCellCollection
RtfCharacterStyle
RtfCollection
RtfColor
RtfColorCollection
RtfColumn
RtfColumnBreak
RtfColumnCollection
RtfComplexField
RtfContent
RtfDateField
RtfDiagonalObject
RtfDrawingCanvas
RtfEmpty
RtfField
RtfFileNameField
RtfFilledObject
RtfFont
RtfFontCollection
RtfFooter
RtfHeader
RtfHeaderFooter
RtfHyperlink
RtfInnerContent
RtfLineBreak
RtfListLevel
RtfListOverride
RtfListStyle
RtfListTable
RtfListTemplate
RtfListText
RtfNumField
RtfNumPagesField
RtfNumWordsField
RtfObject
RtfPageBreak
RtfPageField
RtfPageRefField
RtfParagraph
RtfParagraphContent
RtfParagraphStyle
RtfParamCollection
RtfPicture
RtfPictureShape
RtfRow
RtfRowCollection
RtfSdtContent
RtfSection
RtfSequenceField
RtfShape
RtfShapeCollection
RtfSimpleField
RtfString
RtfStyle
RtfStyleCollection
RtfTable
RtfTableObject
RtfTableStyle
RtfTimeField
RtfTocField
Strings
Strings.Errors
Enumerations
RtfCanvasFlowEnum
RtfCanvasRelationEnum
RtfSectionBreak
Interfaces
IRtfContent
IRtfList
Clear Method (C1WordDocument)
In This Topic
Syntax
See Also
Clear this document, reset content.
Syntax
Visual Basic
C#
public void Clear()
'Declaration Public Sub Clear()
See Also
Reference
C1WordDocument Class
C1WordDocument Members