iText 5

PdfDiv (1)

PdfDiv Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfDiv[[PdfDiv]] end subgraph iTextSharp.text iTextSharp.text.IElement[[IElement]] class iTextSharp.text.IElement interfaceStyle; end subgraph iTextSharp.text.api iTextSharp.text.api.ISpaceable[[ISpaceable]] class iTextSharp.text.api.ISpaceable interfaceStyle; end subgraph iTextSharp.text.pdf.interfaces iTextSharp.text.pdf.interfaces.IAccessibleElement[[IAccessibleElement]] class iTextSharp.text.pdf.interfaces.IAccessibleElement interfaceStyle; end iTextSharp.text.IElement --> iTextSharp.text.pdf.PdfDiv iTextSharp.text.api.ISpaceable --> iTextSharp.text.pdf.PdfDiv iTextSharp.text.pdf.interfaces.IAccessibleElement --> iTextSharp.text.pdf.PdfDiv

Members

Properties

Public properties

Type

Name

Methods

BaseColor

BackgroundColor

get, set

Image

BackgroundImage

set

BorderTopStyle

BorderStyle

get, set

Nullable<float>

Bottom

get, set

IList<

Chunk

>

Chunks

get

List<

IElement

>

Content

get

float

ContentHeight

get, set

float

ContentWidth

get, set

DisplayType

Display

get, set

FloatType

Float

get, set

FloatLayout

FloatLayout

get, set

Nullable<float>

Height

get, set

AccessibleElementId

ID

get, set

bool

IsInline

get

bool

KeepTogether

get, set

Nullable<float>

Left

get, set

float

PaddingBottom

get, set

float

PaddingLeft

get, set

float

PaddingRight

get, set

float

PaddingTop

get, set

Nullable<float>

PercentageHeight

get, set

Nullable<float>

PercentageWidth

get, set

PositionType

Position

get, set

Nullable<float>

Right

get, set

PdfName

Role

get, set

int

RunDirection

get, set

float

SpacingAfter

get, set

float

SpacingBefore

get, set

int

TextAlignment

get, set

Nullable<float>

Top

get, set

int

Type

get

Nullable<float>

Width

get, set

float

YLine

get

Methods

Public methods

Returns

Name

void

AddElement

(

IElement

element)

PdfObject

GetAccessibleAttribute

(

PdfName

key)

Dictionary<

PdfName

,

PdfObject

>

GetAccessibleAttributes

()

bool

IsContent

()

bool

IsNestable

()

int

Layout

(

PdfContentByte

canvas, bool useAscender, bool simulate, float llx, float lly, float urx, float ury)

bool

Process

(

IElementListener

listener)

void

SetAccessibleAttribute

(

PdfName

key,

PdfObject

value)

void

SetBackgroundImage

(

Image

image, float width, float height)

float

getActualHeight

()

float

getActualWidth

()

Details

Inheritance

Nested types

Enums
  • FloatType

  • PositionType

  • DisplayType

  • BorderTopStyle

Constructors

PdfDiv

Source code

public PdfDiv()

Methods

getActualHeight

Source code

public virtual float getActualHeight()

getActualWidth

Source code

public virtual float getActualWidth()

SetBackgroundImage

Source code

public virtual void SetBackgroundImage(Image image, float width, float height)

Arguments

Type

Name

Description

Image

image

float

width

float

height

IsContent

Source code

public virtual bool IsContent()

IsNestable

Source code

public virtual bool IsNestable()

Process

Source code

public virtual bool Process(IElementListener listener)

Arguments

Type

Name

Description

IElementListener

listener

AddElement

Source code

public virtual void AddElement(IElement element)

Arguments

Type

Name

Description

IElement

element

Layout

Source code

public virtual int Layout(PdfContentByte canvas, bool useAscender, bool simulate, float llx, float lly, float urx, float ury)

Arguments

Type

Name

Description

PdfContentByte

canvas

bool

useAscender

bool

simulate

float

llx

float

lly

float

urx

float

ury

GetAccessibleAttribute

Source code

public virtual PdfObject GetAccessibleAttribute(PdfName key)

Arguments

Type

Name

Description

PdfName

key

SetAccessibleAttribute

Source code

public virtual void SetAccessibleAttribute(PdfName key, PdfObject value)

Arguments

Type

Name

Description

PdfName

key

PdfObject

value

GetAccessibleAttributes

Source code

public virtual Dictionary<PdfName, PdfObject> GetAccessibleAttributes()

Properties

Left

public virtual Nullable<float> Left { get; set; }

Top

public virtual Nullable<float> Top { get; set; }

public virtual Nullable<float> Right { get; set; }

Bottom

public virtual Nullable<float> Bottom { get; set; }

Width

public virtual Nullable<float> Width { get; set; }

Height

public virtual Nullable<float> Height { get; set; }

PercentageHeight

public virtual Nullable<float> PercentageHeight { get; set; }

PercentageWidth

public virtual Nullable<float> PercentageWidth { get; set; }

ContentWidth

public virtual float ContentWidth { get; set; }

ContentHeight

public virtual float ContentHeight { get; set; }

TextAlignment

public virtual int TextAlignment { get; set; }

PaddingLeft

public virtual float PaddingLeft { get; set; }

PaddingRight

public virtual float PaddingRight { get; set; }

PaddingTop

public virtual float PaddingTop { get; set; }

PaddingBottom

public virtual float PaddingBottom { get; set; }

Float

public virtual FloatType Float { get; set; }

Position

public virtual PositionType Position { get; set; }

FloatLayout

public virtual FloatLayout FloatLayout { get; set; }

Display

public virtual DisplayType Display { get; set; }

BackgroundColor

public virtual BaseColor BackgroundColor { get; set; }

BackgroundImage

public virtual Image BackgroundImage { set; }

YLine

public virtual float YLine { get; }

RunDirection

public virtual int RunDirection { get; set; }

SpacingBefore

public virtual float SpacingBefore { get; set; }

SpacingAfter

public virtual float SpacingAfter { get; set; }

Content

public virtual List<IElement> Content { get; }

BorderStyle

public virtual BorderTopStyle BorderStyle { get; set; }

KeepTogether

public virtual bool KeepTogether { get; set; }

Chunks

public virtual IList<Chunk> Chunks { get; }

Type

public virtual int Type { get; }

Role

public virtual PdfName Role { get; set; }

ID

public virtual AccessibleElementId ID { get; set; }

IsInline

public virtual bool IsInline { get; }

Generated with ModularDoc