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

Datei anzeigen Open project: aspose-words/Aspose.Words-for-.NET Class Usage Examples

Public Methods

Method Description
Run ( Document doc, LayoutEnumerator it, string folderPath ) : void

Private Methods

Method Description
AddBoundingBoxToElementsOnPage ( LayoutEnumerator it, Graphics g ) : void

Adds a colored border around each layout element on the page.

GetColoredPenFromType ( LayoutEntityType type ) : Pen

Returns a different colored pen for each entity type.

PointToPixel ( float value, double resolution ) : int

Converts a value in points to pixels.

Method Details

Run() public static method

public static Run ( Document doc, LayoutEnumerator it, string folderPath ) : void
doc Document
it LayoutEnumerator
folderPath string
return void