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...
Adds a text run to the current paragraph. Overload List
Closes the writer and finalizes content. Syntax
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...
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.
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...
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.
Creates and returns a new instance of a WordDocumentWriter-derived class. Overload List
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...
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...