IRelativeContainer.cs :  » PDF » SharpPDF » sharpPDF » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » PDF » SharpPDF 
SharpPDF » sharpPDF » IRelativeContainer.cs
using System;

using sharpPDF.Fonts;
using sharpPDF.Enumerators;
using sharpPDF.Elements;
using sharpPDF.PDFControls;

namespace sharpPDF{
  /// <summary>
  /// Interface that represents a Relative Container some basics elements.
  /// </summary>
  public interface IRelativeContainer
  {

    #region Standard_Elements

    #region Image

    /// <summary>
    /// Method that adds an Image inside the Container
    /// </summary>
    /// <param name="imageReference">Image's reference</param>
    void addImage(pdfImageReference imageReference);

    /// <summary>
    /// Method that adds an Image inside the Container
    /// </summary>
    /// <param name="imageReference">Image's reference</param>
    /// <param name="height">Height of the image</param>
    /// <param name="width">Width of the image</param>
    void addImage(pdfImageReference imageReference, int height, int width);

    #endregion

    #region Text

    /// <summary>
    /// Method that adds a Text to the Container
    /// </summary>
    /// <param name="newText">String of thext</param>
    /// <param name="fontReference">Font's reference Object</param>
    /// <param name="fontSize">Font's size</param>
    void addText(string newText, pdfAbstractFont fontReference, int fontSize);

    /// <summary>
    /// Method that adds a Text to the Container
    /// </summary>
    /// <param name="newText">String of thext</param>
    /// <param name="fontReference">Font's reference Object</param>
    /// <param name="fontSize">Font's size</param>
    /// <param name="fontColor">Font's color</param>
    void addText(string newText, pdfAbstractFont fontReference, int fontSize, pdfColor fontColor);

    #endregion

    #region Paragraph

    /// <summary>
    /// Method that adds a Paragraph to the Container
    /// </summary>
    /// <param name="newText">Paragraph's Text</param>
    /// <param name="fontReference">Font's reference object</param>
    /// <param name="fontSize">Font's size</param>
    /// <param name="lineHeight">Height of the lines of the paragraph</param>
    /// <param name="parWidth">Width of the paragraph</param>
    /// <param name="parAlign">Alignment of the paragraph</param>
    void addParagraph(string newText, pdfAbstractFont fontReference, int fontSize, int lineHeight, int parWidth, predefinedAlignment parAlign);

    /// <summary>
    /// Method that adds a Paragraph to the Container
    /// </summary>
    /// <param name="newText">Paragraph's Text</param>
    /// <param name="fontReference">Font's reference object</param>
    /// <param name="fontSize">Font's size</param>
    /// <param name="lineHeight">Height of the lines of the paragraph</param>
    /// <param name="parWidth">Width of the paragraph</param>
    /// <param name="parAlign">Align of the paragraph</param>
    /// <param name="textColor">Color of the paragraph</param>
    void addParagraph(string newText, pdfAbstractFont fontReference, int fontSize, int lineHeight, int parWidth, pdfColor textColor, predefinedAlignment parAlign);

    #endregion
    
    #region Checked_Paragraph

    /// <summary>
    /// Method that adds a paragraph to the Container with a check on its maximum height
    /// </summary>
    /// <param name="newText">Text of the paragraph</param>
    /// <param name="fontReference">Font of the paragraph</param>
    /// <param name="fontSize">Font's size</param>
    /// <param name="lineHeight">Height of paragraph's lines</param>
    /// <param name="parWidth">Width of the paragraph</param>
    /// <param name="parHeight">Maximum height of the paragraph</param>
    /// <param name="parAlign">Align of the paragraph</param>
    /// <returns>Text out of the paragraph's maximum height</returns>
    string addParagraph(string newText, pdfAbstractFont fontReference, int fontSize, int lineHeight, int parWidth, int parHeight, predefinedAlignment parAlign);

    /// <summary>
    /// Method that adds a paragraph to the Container with a check on its maximum height
    /// </summary>
    /// <param name="newText">Text of the paragraph</param>
    /// <param name="fontReference">Font of the paragraph</param>
    /// <param name="fontSize">Font's size</param>
    /// <param name="lineHeight">Height of paragraph's lines</param>
    /// <param name="parWidth">Width of the paragraph</param>
    /// <param name="parHeight">Maximum height of the paragraph</param>
    /// <param name="textColor">Text's color</param>
    /// <param name="parAlign">Align of the paragraph</param>
    /// <returns>Text out of the paragraph's maximum height</returns>
    string addParagraph(string newText, pdfAbstractFont fontReference, int fontSize, int lineHeight, int parWidth, int parHeight, pdfColor textColor, predefinedAlignment parAlign);

    #endregion

    #endregion

  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.