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

Afficher le fichier Open project: aspose-words/Aspose.Words-for-.NET

Méthodes publiques

Méthode 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 méthode

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

FindShapeSizes() public static méthode

public static FindShapeSizes ( Shape shape ) : void
shape Shape
Résultat void

RenderCellToImage() public static méthode

public static RenderCellToImage ( string dataDir, Document doc ) : void
dataDir string
doc Document
Résultat void

RenderNode() public static méthode

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.
Résultat void

RenderParagraphToImage() public static méthode

public static RenderParagraphToImage ( string dataDir, Document doc ) : void
dataDir string
doc Document
Résultat void

RenderRowToImage() public static méthode

public static RenderRowToImage ( string dataDir, Document doc ) : void
dataDir string
doc Document
Résultat void

RenderShapeImage() public static méthode

public static RenderShapeImage ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
Résultat void

RenderShapeToDisk() public static méthode

public static RenderShapeToDisk ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
Résultat void

RenderShapeToGraphics() public static méthode

public static RenderShapeToGraphics ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
Résultat void

RenderShapeToStream() public static méthode

public static RenderShapeToStream ( string dataDir, Shape shape ) : void
dataDir string
shape Shape
Résultat void

Run() public static méthode

public static Run ( ) : void
Résultat void