C# Class Novacode.Picture

Represents a Picture in this document, a Picture is a customized view of an Image.
Show file Open project: WordDocX/DocX Class Usage Examples

Public Methods

Method Description
Remove ( ) : void

Remove this Picture from this document.

SetPictureShape ( BasicShapes shape ) : void

Set the shape of this Picture to one in the BasicShapes enumeration.

SetPictureShape ( BlockArrowShapes shape ) : void

Set the shape of this Picture to one in the BlockArrowShapes enumeration.

SetPictureShape ( CalloutShapes shape ) : void

Set the shape of this Picture to one in the CalloutShapes enumeration.

SetPictureShape ( EquationShapes shape ) : void

Set the shape of this Picture to one in the EquationShapes enumeration.

SetPictureShape ( FlowchartShapes shape ) : void

Set the shape of this Picture to one in the FlowchartShapes enumeration.

SetPictureShape ( RectangleShapes shape ) : void

Set the shape of this Picture to one in the RectangleShapes enumeration.

SetPictureShape ( StarAndBannerShapes shape ) : void

Set the shape of this Picture to one in the StarAndBannerShapes enumeration.

Private Methods

Method Description
Picture ( DocX document, System.Xml.Linq.XElement i, Image img ) : System.Collections.Generic

Wraps an XElement as an Image

SetPictureShape ( object shape ) : void

Method Details

Remove() public method

Remove this Picture from this document.
public Remove ( ) : void
return void

SetPictureShape() public method

Set the shape of this Picture to one in the BasicShapes enumeration.
public SetPictureShape ( BasicShapes shape ) : void
shape BasicShapes A shape from the BasicShapes enumeration.
return void

SetPictureShape() public method

Set the shape of this Picture to one in the BlockArrowShapes enumeration.
public SetPictureShape ( BlockArrowShapes shape ) : void
shape BlockArrowShapes A shape from the BlockArrowShapes enumeration.
return void

SetPictureShape() public method

Set the shape of this Picture to one in the CalloutShapes enumeration.
public SetPictureShape ( CalloutShapes shape ) : void
shape CalloutShapes A shape from the CalloutShapes enumeration.
return void

SetPictureShape() public method

Set the shape of this Picture to one in the EquationShapes enumeration.
public SetPictureShape ( EquationShapes shape ) : void
shape EquationShapes A shape from the EquationShapes enumeration.
return void

SetPictureShape() public method

Set the shape of this Picture to one in the FlowchartShapes enumeration.
public SetPictureShape ( FlowchartShapes shape ) : void
shape FlowchartShapes A shape from the FlowchartShapes enumeration.
return void

SetPictureShape() public method

Set the shape of this Picture to one in the RectangleShapes enumeration.
public SetPictureShape ( RectangleShapes shape ) : void
shape RectangleShapes A shape from the RectangleShapes enumeration.
return void

SetPictureShape() public method

Set the shape of this Picture to one in the StarAndBannerShapes enumeration.
public SetPictureShape ( StarAndBannerShapes shape ) : void
shape StarAndBannerShapes A shape from the StarAndBannerShapes enumeration.
return void