C# Class Aspose.Words.Examples.CSharp.Rendering_and_Printing.RenderShape

Mostrar archivo Open project: aspose-words/Aspose.Words-for-.NET

Public Methods

Method Description
FindBoundingBoxAroundNode ( Bitmap originalBitmap ) : Rectangle

Finds the minimum bounding box around non-transparent pixels in a Bitmap.

FindShapeSizes ( Shape shape ) : void
RenderCellToImage ( string dataDir, Document doc ) : void
RenderNode ( Node node, string filePath, ImageSaveOptions imageOptions ) : void

Renders any node in a document to the path specified using the image save options.

RenderParagraphToImage ( string dataDir, Document doc ) : void
RenderRowToImage ( string dataDir, Document doc ) : void
RenderShapeImage ( string dataDir, Shape shape ) : void
RenderShapeToDisk ( string dataDir, Shape shape ) : void
RenderShapeToGraphics ( string dataDir, Shape shape ) : void
RenderShapeToStream ( string dataDir, Shape shape ) : void
Run ( ) : void

Method Details

FindBoundingBoxAroundNode() public static method

Finds the minimum bounding box around non-transparent pixels in a Bitmap.
public static FindBoundingBoxAroundNode ( Bitmap originalBitmap ) : Rectangle
originalBitmap System.Drawing.Bitmap
return System.Drawing.Rectangle

FindShapeSizes() public static method

public static FindShapeSizes ( Shape shape ) : void
shape Shape
return void

RenderCellToImage() public static method

public static RenderCellToImage ( string dataDir, Document doc ) : void
dataDir string
doc Document
return void

RenderNode() public static method

Renders any node in a document to the path specified using the image save options.
public static RenderNode ( Node node, string filePath, ImageSaveOptions imageOptions ) : void
node Node The node to render.
filePath string
imageOptions ImageSaveOptions The image options to use during rendering. This can be null.
return void

RenderParagraphToImage() public static method

public static RenderParagraphToImage ( string dataDir, Document doc ) : void
dataDir string
doc Document
return void

RenderRowToImage() public static method

public static RenderRowToImage ( string dataDir, Document doc ) : void
dataDir string
doc Document
return void

RenderShapeImage() public static method

public static RenderShapeImage ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
return void

RenderShapeToDisk() public static method

public static RenderShapeToDisk ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
return void

RenderShapeToGraphics() public static method

public static RenderShapeToGraphics ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
return void

RenderShapeToStream() public static method

public static RenderShapeToStream ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
return void

Run() public static method

public static Run ( ) : void
return void