C# Class Novacode.Image

Represents an Image embedded in a document.
显示文件 Open project: WordDocX/DocX Class Usage Examples

Public Methods

Method Description
CreatePicture ( ) : Picture

Add an image to a document, create a custom view of that image (picture) and then insert it into a Paragraph using append.

CreatePicture ( int height, int width ) : Picture
GetStream ( FileMode mode, FileAccess access ) : Stream

Private Methods

Method Description
Image ( DocX document, PackageRelationship pr ) : System

Method Details

CreatePicture() public method

Add an image to a document, create a custom view of that image (picture) and then insert it into a Paragraph using append.
public CreatePicture ( ) : Picture
return Picture

CreatePicture() public method

public CreatePicture ( int height, int width ) : Picture
height int
width int
return Picture

GetStream() public method

public GetStream ( FileMode mode, FileAccess access ) : Stream
mode FileMode
access FileAccess
return Stream