Version

Search Results

AddTextRun(TextRun) Method

Adds a text run to the current paragraph. Syntax Parameters textRun A TextRun instance which defines the properties of the text run. Exceptions Exception Description WordDocumentWriterException Thrown if no document or paragraph is currently open. WordDocumentWriterXmlWriterException Thrown if the XmlWriter used t...

AddTextRun Method (WordDocumentWriter)

Adds a text run to the current paragraph. Overload List

Close Method (WordDocumentWriter)

Closes the writer and finalizes content. Syntax

ConvertUnits Method

Converts the specified floating-point value based on the specified units of measurement. Syntax Parameters value The value to convert.from A UnitOfMeasurement constant which defines the unit of measure of the specified value.to A UnitOfMeasurement constant which defines the unit of measure of the returned value. R...

Create(Stream) Method

Creates and returns a new instance of a WordDocumentWriter-derived class. Syntax Parameters stream The System.IO.Stream to which the content is persisted. Return Value A reference to the WordDocumentWriter-derived instance that was created.

Create(Stream,IPackageFactory) Method

Creates and returns a new instance of a WordDocumentWriter-derived class. Syntax Parameters stream The System.IO.Stream to which the content is persisted.packageFactory An IPackageFactory implementor which handles the packaging of the output file stream. Return Value A reference to the WordDocumentWriter-derived i...

Create(String) Method

Creates and returns a new instance of a WordDocumentWriter-derived class. Syntax Parameters filename The fully qualified path to the Office document file to be created. Return Value A reference to the WordDocumentWriter-derived instance that was created.

Create Method (WordDocumentWriter)

Creates and returns a new instance of a WordDocumentWriter-derived class. Overload List

CreateAnchoredPicture Method

Creates a new AnchoredPicture. Syntax Parameters image Remarks This method returns an instance which contains a reference to this class, which enables the instance to observe the Unit property setting, so that the developer can work in the unit of measure with which he is most comfortable. The instance returned fr...

CreateAnchoredShape(Shape) Method

Creates a new AnchoredShape. Syntax Parameters shape A previously created Shape instance on which the returned AnchoredShape instance is based. Remarks This method returns an instance which contains a reference to this class, which enables the instance to observe the Unit property setting, so that the developer ca...